Submission #214325


Source Code Expand

Copy
#include <iostream>
#include <stdio.h>
#include <string>
#include <math.h>
#include <stdlib.h>
#include <queue>
#include <vector>
#include <string.h>
#include <algorithm>
using namespace std;

int main(void)
{
	char x;
	cin >> x;

	int ans = x - 'A' + 1;

	cout << ans << endl;

	return 0;
}

Submission Info

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