Submission #214157


Source Code Expand

Copy
#include <iostream>
using namespace std;

int main() {
   char X;
   cin >> X;
   if( X == 'A')
      cout << 1 << endl;
   else if( X == 'B')
      cout << 2 << endl;
   else if( X == 'C')
      cout << 3 << endl;
   else if( X == 'D')
      cout << 4 << endl;
   else if( X == 'E')
      cout << 5 << endl;
}

Submission Info

Submission Time
Task A - A
User Takayama
Language C++ (G++ 4.6.4)
Score 100
Code Size 326 Byte
Status AC
Exec Time 44 ms
Memory 920 KB

Judge Result

Set Name all
Score / Max Score 100 / 100
Status
AC × 5
Set Name Test Cases
all A.txt, B.txt, C.txt, D.txt, E.txt
Case Name Status Exec Time Memory
A.txt AC 20 ms 920 KB
B.txt AC 44 ms 744 KB
C.txt AC 22 ms 800 KB
D.txt AC 20 ms 672 KB
E.txt AC 21 ms 796 KB