Submission

Status:

Compilation Error

Subtask/Task Score:

Score: 0

User: exoworldgd

Problemset: ตัวอักษรตัวแรกในคำ

Language: cpp

Time: 0.000 second

Submitted On: 2025-08-20 21:37:39

#pragma GCC optimize("O5")
#pragma GCC target("avx2,bmi,bmi2,popcnt,lzcnt")
#include <bits/stdc++.h>
#define exoworldgd cin.tie(0)->sync_with_stdio(0),cout.tie(0)
#define int long long
using namespace std;
const int inf = LLONG_MAX, mod = 1e9+7, maxn = 1e6+1;
signed main(void) {
	exoworldgd;
	string s;
	int a[256] = {};
	cin >> s;
	for (char c : s) a[(int)c]++;
	for (int i : a) i == 1 ? [&](){cout << (char)i; return 0;}() : [&](){continue;}();
}