Submission
Status:
PP------P-
Subtask/Task Score:
30/100
Score: 30
User: Sense.exe
Problemset: ตัวอักษรตัวแรกในคำ
Language: cpp
Time: 0.004 second
Submitted On: 2026-09-25 22:38:30
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
if(s.length()<=20) {
map<char,int> m;
for(auto x:s) {
m[x]+=1;
}
for(auto x:s) {
if(m[x]==1) {
cout << x;
return 0;
}
}
}
}