Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: rice_ot
Problemset: ตัวอักษรตัวแรกในคำ
Language: cpp
Time: 0.003 second
Submitted On: 2025-10-14 10:38:51
#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;
}
}
}