Submission
Status:
Compilation Error
Subtask/Task Score:
Score: 0
User: rice_ot
Problemset: ตัวอักษรตัวแรกในคำ
Language: cpp
Time: 0.000 second
Submitted On: 2025-10-14 10:38:25
#include <bits/stdc++.h>
using namespace std;
int main(){
string x; cin>>x;
map<char, int> word;
for(auto i : x){
word[i]++:
}
for(auto& i : word){
if(i.second == 1){
cout<<i.first;
return 0;
}
}
}