Submission #213648


Source Code Expand

Copy
#include<iostream>
/*{
#include<iomanip>
#include<cstdlib>
#include<cstdio>
#include<cmath>
#include<cstring>
#include<vector>
#include<algorithm>
#include<string>
#include<sstream>
#include<ncurses.h>
}*/

using namespace std;

int main(){
  ios::sync_with_stdio(false);
  char X;
  cin >> X;
  cout << X - 'A' +1 <<endl;

  return 0;
}

Submission Info

Submission Time
Task A - A
User solanumaple
Language C++ (G++ 4.6.4)
Score 100
Code Size 362 Byte
Status AC
Exec Time 21 ms
Memory 932 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 792 KB
B.txt AC 21 ms 932 KB
C.txt AC 19 ms 800 KB
D.txt AC 21 ms 924 KB
E.txt AC 19 ms 800 KB