Задачи
Поле-чудес
J
include <bits/stdc++.h>
using namespace std;
int main() { string word; cin >> word; unordered_set<char> unique_letters; for (char ch : word) { unique_letters.insert(ch); } cout << unique_letters.size() << endl;
return 0;
}
J
using namespace std;
int main() { string word; cin >> word; unordered_set<char> unique_letters; for (char ch : word) { unique_letters.insert(ch); } cout << unique_letters.size() << endl;
return 0;
}