Submission #213336


Source Code Expand

Copy
#include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <sstream>
#include <functional>
#include <map>
#include <string>
#include <cstring>
#include <vector>
#include <queue>
#include <stack>
#include <deque>
#include <set>
#include <list>
#include <numeric>
using namespace std;
const double PI = 3.14159265358979323846;
const double EPS = 1e-12;
const int INF = 1<<25;
typedef pair<int,int> P;
typedef long long ll;
typedef unsigned long long ull;


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

Submission Info

Submission Time
Task A - A
User Lepton
Language C++ (G++ 4.6.4)
Score 100
Code Size 635 Byte
Status AC
Exec Time 27 ms
Memory 996 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 27 ms 928 KB
B.txt AC 26 ms 996 KB
C.txt AC 25 ms 940 KB
D.txt AC 24 ms 860 KB
E.txt AC 24 ms 936 KB