よじろめ覚書

私の理解度重視のソースコードです。

ABC093A - abc of ABC

問題:A - abc of ABC

#include <iostream>
#include <string>
using namespace std;

int main(void) {
    string s;

    cin.tie(0);
    ios::sync_with_stdio(false);
    cin >> s;
    cout << (s[0] != s[1] && s[1] != s[2] && s[2] != s[0]? "Yes" : "No") << "\n";
    return 0;
}