Submission #1573422
Source Code Expand
#include<stdio.h> int main(void){ char a; scanf("%a",&a); printf("%d\n",a-'A'+1); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - A |
User | yuhi87star |
Language | C (Clang 3.8.0) |
Score | 0 |
Code Size | 115 Byte |
Status | WA |
Exec Time | 1 ms |
Memory | 128 KB |
Compile Error
./Main.c:4:16: warning: format specifies type 'float *' but the argument has type 'char *' [-Wformat] scanf("%a",&a); ~~ ^~ %s 1 warning generated.
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 | 1 ms | 128 KB |
B.txt | WA | 1 ms | 128 KB |
C.txt | WA | 1 ms | 128 KB |
D.txt | WA | 1 ms | 128 KB |
E.txt | WA | 1 ms | 128 KB |