Submission #1609088
Source Code Expand
void main() { int n; scanf("%d", &n); printf("%d\n", n*2); }
Submission Info
Submission Time | |
---|---|
Task | A - 流行 |
User | iseekautos |
Language | C (GCC 5.4.1) |
Score | 0 |
Code Size | 71 Byte |
Status | RE |
Exec Time | 1 ms |
Memory | 128 KB |
Compile Error
./Main.c: In function ‘main’: ./Main.c:4:3: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration] scanf("%d", &n); ^ ./Main.c:4:3: warning: incompatible implicit declaration of built-in function ‘scanf’ ./Main.c:4:3: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’ ./Main.c:5:3: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] printf("%d\n", n*2); ^ ./Main.c:5:3: warning: incompatible implicit declaration of built-in function ‘printf’ ./Main.c:5:3: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_sample_00.txt, max_1000000.txt, min_0.txt, rand_133007.txt, rand_171937.txt, rand_172717.txt, rand_232508.txt, rand_242450.txt, rand_246841.txt, rand_269046.txt, rand_320433.txt, rand_435534.txt, rand_50616.txt, rand_537196.txt, rand_565439.txt, rand_601980.txt, rand_622146.txt, rand_624081.txt, rand_678601.txt, rand_696476.txt, rand_762274.txt, rand_798714.txt, rand_821336.txt, rand_85323.txt, rand_859632.txt, rand_921203.txt, rand_934508.txt, rand_993594.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_00.txt | RE | 0 ms | 128 KB |
max_1000000.txt | RE | 0 ms | 128 KB |
min_0.txt | RE | 0 ms | 128 KB |
rand_133007.txt | RE | 1 ms | 128 KB |
rand_171937.txt | RE | 0 ms | 128 KB |
rand_172717.txt | RE | 1 ms | 128 KB |
rand_232508.txt | RE | 1 ms | 128 KB |
rand_242450.txt | RE | 0 ms | 128 KB |
rand_246841.txt | RE | 1 ms | 128 KB |
rand_269046.txt | RE | 1 ms | 128 KB |
rand_320433.txt | RE | 1 ms | 128 KB |
rand_435534.txt | RE | 0 ms | 128 KB |
rand_50616.txt | RE | 1 ms | 128 KB |
rand_537196.txt | RE | 1 ms | 128 KB |
rand_565439.txt | RE | 1 ms | 128 KB |
rand_601980.txt | RE | 1 ms | 128 KB |
rand_622146.txt | RE | 0 ms | 128 KB |
rand_624081.txt | RE | 1 ms | 128 KB |
rand_678601.txt | RE | 1 ms | 128 KB |
rand_696476.txt | RE | 0 ms | 128 KB |
rand_762274.txt | RE | 1 ms | 128 KB |
rand_798714.txt | RE | 1 ms | 128 KB |
rand_821336.txt | RE | 1 ms | 128 KB |
rand_85323.txt | RE | 1 ms | 128 KB |
rand_859632.txt | RE | 1 ms | 128 KB |
rand_921203.txt | RE | 1 ms | 128 KB |
rand_934508.txt | RE | 1 ms | 128 KB |
rand_993594.txt | RE | 1 ms | 128 KB |