Submission #214645


Source Code Expand

Copy
#include<iostream>
#include<sstream>
#include<fstream>
#include<string>
#include<vector>
#include<deque>
#include<queue>
#include<stack>
#include<set>
#include<map>
#include<algorithm>
#include<functional>
#include<utility>
#include<bitset>
#include<cmath>
#include<cstdlib>
#include<ctime>
#include<cstdio>

using namespace std;

#define REP(i,n) for(int i=0;i<int(n);i++)
#define foreach(c,itr) for(__typeof((c).begin()) itr=(c).begin();itr!=(c).end();itr++)
typedef pair<int,int> P;
typedef long long ll;

int main(void){

	char x;
	cin >> x;
	cout << x-'A'+1 << endl;

	return 0;
}

Submission Info

Submission Time
Task A - A
User daiota
Language C++ (G++ 4.6.4)
Score 100
Code Size 620 Byte
Status AC
Exec Time 26 ms
Memory 928 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 24 ms 924 KB
B.txt AC 24 ms 928 KB
C.txt AC 26 ms 924 KB
D.txt AC 22 ms 928 KB
E.txt AC 25 ms 796 KB