Submission #1026171


Source Code Expand

Copy
#include <iostream>
using namespace std;

int main() {
	string s;
	cin >> s;
	cout << (int)(s[0]-'A' + 1)<<endl;
	return 0;
}

Submission Info

Submission Time
Task A - A
User letter
Language C++ (G++ 4.6.4)
Score 100
Code Size 133 Byte
Status AC
Exec Time 18 ms
Memory 800 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 17 ms 672 KB
B.txt AC 16 ms 672 KB
C.txt AC 16 ms 800 KB
D.txt AC 16 ms 800 KB
E.txt AC 18 ms 796 KB