题解 | 字符个数统计
#include <iostream>
#include <set>
using namespace std;
int main() {
string str;
cin >> str;
set<char> st;
for (char ch : str) {
st.insert(ch);
}
cout << st.size() << endl;
}
// 64 位输出请用 printf("%lld")
#include <iostream>
#include <set>
using namespace std;
int main() {
string str;
cin >> str;
set<char> st;
for (char ch : str) {
st.insert(ch);
}
cout << st.size() << endl;
}
// 64 位输出请用 printf("%lld")
相关推荐
COLORSN:可以试一下,小厂看技术栈是不是很落后,如果太拉胯就别去,个人认为有实习氛围比你自己琢磨要高效不少,然后就是小厂其实也有可能会问的很难,这都比较难说,还是看自己项目含金量够不够,寒假还能不能推进学习再选择,毕竟去实习过年就10天假了