#include <iostream> #include <set> using namespace std; set<char> c; char ad; int main() { while (scanf("%c",&ad)!=EOF) { c.insert(ad); } cout<<c.size()-1; }
#include <iostream> #include <set> using namespace std; set<char> c; char ad; int main() { while (scanf("%c",&ad)!=EOF) { c.insert(ad); } cout<<c.size()-1; }