Submission #583384
Source Code Expand
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <cmath> #include <cstdio> #include <cstring> using namespace std; #define FOR(i,a,b) for(long long int i=(a);i<(b);i++) #define REP(i,n) for(long long int i=0;i<(n);i++) #define ALL(s) (s).begin(),(s).end() #define PI 3.14159265358479 typedef long long ll; typedef vector<long long int> vi; typedef vector<long long int>::iterator vit; int main(){ char c; cin >> c; cout << c - 'A' + 1 << "\n"; }
Submission Info
Submission Time | |
---|---|
Task | A - A |
User | jimmy |
Language | C++ (G++ 4.6.4) |
Score | 100 |
Code Size | 512 Byte |
Status | AC |
Exec Time | 28 ms |
Memory | 1048 KB |
Judge Result
Set Name | all | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
all | A.txt, B.txt, C.txt, D.txt, E.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
A.txt | AC | 28 ms | 984 KB |
B.txt | AC | 25 ms | 924 KB |
C.txt | AC | 25 ms | 1048 KB |
D.txt | AC | 26 ms | 920 KB |
E.txt | AC | 25 ms | 920 KB |