Submission #2406472
Source Code Expand
#include<iostream> using namespace std; int main(){ string a; cin>>a; if(a=="A"){cout<<1<<endl;return 0;} if(a=="B"){cout<<2<<endl;return 0;} if(a=="C"){cout<<3<<endl;return 0;} if(a=="D"){cout<<4<<endl;return 0;} if(a=="E"){cout<<5<<endl;return 0;} return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - A |
User | touji |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 292 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | all | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
all | A.txt, B.txt, C.txt, D.txt, E.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
A.txt | AC | 1 ms | 256 KB |
B.txt | AC | 1 ms | 256 KB |
C.txt | AC | 1 ms | 256 KB |
D.txt | AC | 1 ms | 256 KB |
E.txt | AC | 1 ms | 256 KB |