Submission #582115
Source Code Expand
#include <cstdio> int main() { char c; scanf("%c", &c); printf("%d\n", c - 'A'); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - A |
User | staryoshi |
Language | C++11 (GCC 4.8.1) |
Score | 0 |
Code Size | 106 Byte |
Status | WA |
Exec Time | 24 ms |
Memory | 800 KB |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:5:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^
Judge Result
Set Name | all | ||
---|---|---|---|
Score / Max Score | 0 / 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 | WA | 24 ms | 800 KB |
B.txt | WA | 22 ms | 696 KB |
C.txt | WA | 21 ms | 700 KB |
D.txt | WA | 23 ms | 700 KB |
E.txt | WA | 22 ms | 700 KB |