Submission #4647400
Source Code Expand
#include<stdio.h> void main(){ char x; scanf("%c",&x); switch (x){ case 'A': printf("1\n"); case 'B': printf("2\n"); case 'C': printf("3\n"); case 'D': printf("4\n"); case 'E':printf("5\n"); } return; }
Submission Info
Submission Time | |
---|---|
Task | A - A |
User | masibw |
Language | C (GCC 5.4.1) |
Score | 0 |
Code Size | 254 Byte |
Status | RE |
Exec Time | 1 ms |
Memory | 128 KB |
Compile Error
./Main.c: In function ‘main’: ./Main.c:5:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&x); ^
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 | RE | 1 ms | 128 KB |
B.txt | RE | 1 ms | 128 KB |
C.txt | RE | 1 ms | 128 KB |
D.txt | RE | 0 ms | 128 KB |
E.txt | RE | 1 ms | 128 KB |