Submission #214285


Source Code Expand

Copy
#include <iostream>

using namespace std;

int main()
{
	char x;
	cin >> x;
	cout << (int)(x - 'A')+1 << endl;
	return 0;
}

Submission Info

Submission Time
Task A - A
User mc47546
Language C++ (G++ 4.6.4)
Score 100
Code Size 135 Byte
Status AC
Exec Time 21 ms
Memory 804 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 21 ms 800 KB
B.txt AC 20 ms 672 KB
C.txt AC 21 ms 796 KB
D.txt AC 20 ms 800 KB
E.txt AC 21 ms 804 KB