Submission #65420467
Source Code Expand
#include <bits/stdc++.h> #include <ext/rope> #define fastio cin.tie(0), cout.tie(0), ios::sync_with_stdio(0); #define all(x) (x).begin(), (x).end() #define x first #define y second using namespace std; using ll = long long; using ld = long double; using pld = pair<ld, ld>; using i128 = __int128_t; using f128 = __float128; using pll = pair<ll, ll>; using tll = tuple<ll, ll, ll>; ll n, m, k, t = 1; string s; constexpr ll INF = 0x3f3f3f3f3f3f3f3f; constexpr ll MINF = 0xc0c0c0c0c0c0c0c0; constexpr ll MAX = 201010; // SET MAX SIZE constexpr ll MOD = 998244353; bool cnt[26]; void run(){ cin >> s; for(auto& i : s) cnt[i - 'a'] = 1; for(int i = 0;i < 26;i++){ if(cnt[i]) continue; cout << (char)(i + 'a'); return; } } int main() { fastio; // cin >> t; while(t--) run(); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - Not Found |
User | kss418 |
Language | C++ 20 (gcc 12.2) |
Score | 100 |
Code Size | 868 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 3600 KiB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt, sample_03.txt |
All | sample_01.txt, sample_02.txt, sample_03.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_15.txt, test_16.txt, test_17.txt, test_18.txt, test_19.txt, test_20.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 1 ms | 3464 KiB |
sample_02.txt | AC | 1 ms | 3524 KiB |
sample_03.txt | AC | 1 ms | 3456 KiB |
test_01.txt | AC | 1 ms | 3392 KiB |
test_02.txt | AC | 1 ms | 3452 KiB |
test_03.txt | AC | 1 ms | 3416 KiB |
test_04.txt | AC | 1 ms | 3464 KiB |
test_05.txt | AC | 1 ms | 3388 KiB |
test_06.txt | AC | 1 ms | 3468 KiB |
test_07.txt | AC | 1 ms | 3416 KiB |
test_08.txt | AC | 1 ms | 3412 KiB |
test_09.txt | AC | 1 ms | 3600 KiB |
test_10.txt | AC | 1 ms | 3452 KiB |
test_11.txt | AC | 1 ms | 3520 KiB |
test_12.txt | AC | 1 ms | 3396 KiB |
test_13.txt | AC | 1 ms | 3392 KiB |
test_14.txt | AC | 1 ms | 3456 KiB |
test_15.txt | AC | 1 ms | 3520 KiB |
test_16.txt | AC | 1 ms | 3392 KiB |
test_17.txt | AC | 1 ms | 3464 KiB |
test_18.txt | AC | 1 ms | 3440 KiB |
test_19.txt | AC | 1 ms | 3468 KiB |
test_20.txt | AC | 1 ms | 3452 KiB |