Submission #213344
Source Code Expand
#include <iostream> #include <vector> #include <algorithm> #define loop(n, i) for(int i=0;i<n;i++) #define from_to(from, to, i) for(int i=from;i<=to;i++) using namespace std; using ll = long long; int main(int argc, char const* argv[]) { char c; cin >> c; cout << c - 'A' + 1 << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - A |
User | na_o_s |
Language | C++11 (GCC 4.8.1) |
Score | 100 |
Code Size | 334 Byte |
Status | AC |
Exec Time | 22 ms |
Memory | 920 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 | 21 ms | 920 KB |
B.txt | AC | 21 ms | 804 KB |
C.txt | AC | 20 ms | 792 KB |
D.txt | AC | 21 ms | 736 KB |
E.txt | AC | 22 ms | 796 KB |