【題解】AtCoder 155A – Poor

【題目敘述】https://atcoder.jp/contests/abc155/tasks/abc155_a

clude <iostream>
using namespace std;
 
int a, b, c;
 
int main() {
    cin >> a >> b >> c;
    if (a == b && b != c) cout << "Yes\n";
    else if (a == c && a != b) cout << "Yes\n";
    else if (b == c && a != c) cout << "Yes\n";
    else cout << "No\n";
}
分享本文 Share with friends