Submission #2383719
Source Code Expand
#include<iostream> #include<cstdio> #include<cstring> #include<string> #include<algorithm> #include<vector> #include<functional> #include<iomanip> #include<cmath> #include<queue> #include<limits> #include<cassert> #include<set> #include<tuple> #include<map> #define YES cout<<"YES"<<endl #define NO cout<<"NO"<<endl #define Yes cout<<"Yes"<<endl #define No cout<<"No"<<endl #define None cout<<"None"<<endl typedef long long ll; using namespace std; int main() { string s; cin >> s; string t = "abcdefghijklmnopqrstuvwxyz"; string u = "abcdefghijklmnopqrstuvwxyz"; for (int i = 0; i < s.size(); ++i) { for (int j = 0; j < 26; ++j) { if (s[i] == t[j]) u[j] = 'z'; } } sort(u.begin(),u.end()); if (u == "zzzzzzzzzzzzzzzzzzzzzzzzzz") None; else cout << u[0] << endl; }
Submission Info
Submission Time | |
---|---|
Task | B - Not Found |
User | ALBIDA_C |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 826 Byte |
Status | WA |
Exec Time | 11 ms |
Memory | 512 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 200 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample1.txt, sample2.txt, sample3.txt |
All | sample1.txt, sample2.txt, sample3.txt, 1.txt, 2.txt, 3.txt, 4.txt, 5.txt, 6.txt, 7.txt, 8.txt, 9.txt, sample1.txt, sample2.txt, sample3.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
1.txt | AC | 1 ms | 256 KB |
2.txt | AC | 1 ms | 256 KB |
3.txt | AC | 2 ms | 256 KB |
4.txt | AC | 11 ms | 512 KB |
5.txt | AC | 11 ms | 512 KB |
6.txt | AC | 11 ms | 512 KB |
7.txt | AC | 9 ms | 512 KB |
8.txt | WA | 11 ms | 512 KB |
9.txt | AC | 11 ms | 512 KB |
sample1.txt | AC | 1 ms | 256 KB |
sample2.txt | AC | 1 ms | 256 KB |
sample3.txt | AC | 1 ms | 256 KB |