Submission #3980162
Source Code Expand
#include <bits/stdc++.h> using namespace std; int main(){ string x; cin>>x; if(x[0]=='A'){ cout<<"1"<<endl; } if(x[0]=='B'){ cout<<"2"<<endl; } if(x[0]=='C'){ cout<<"3"<<endl; } if(x[0]=='D'){ cout<<"4"<<endl; } else{ cout<<"5"<<endl; } }
Submission Info
Submission Time | |
---|---|
Task | A - A |
User | shoron99 |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 319 Byte |
Status | WA |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | all | ||||
---|---|---|---|---|---|
Score / Max Score | 0 / 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 | WA | 1 ms | 256 KB |
B.txt | WA | 1 ms | 256 KB |
C.txt | WA | 1 ms | 256 KB |
D.txt | AC | 1 ms | 256 KB |
E.txt | AC | 1 ms | 256 KB |