Submission #2014088
Source Code Expand
main(a,b,c){scanf("%d%d%d",&a,&b,&c);while(c--)printf("-");}
Submission Info
Submission Time | |
---|---|
Task | B - Food Collector |
User | tozangezan |
Language | C (GCC 5.4.1) |
Score | 0 |
Code Size | 60 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 128 KB |
Compile Error
./Main.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(a,b,c){scanf("%d%d%d",&a,&b,&c);while(c--)printf("-");} ^ ./Main.c: In function ‘main’: ./Main.c:1:1: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int] ./Main.c:1:1: warning: type of ‘b’ defaults to ‘int’ [-Wimplicit-int] ./Main.c:1:1: warning: type of ‘c’ defaults to ‘int’ [-Wimplicit-int] ./Main.c:1:13: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration] main(a,b,c){scanf("%d%d%d",&a,&b,&c);while(c--)printf("-");} ^ ./Main.c:1:13: warning: incompatible implicit declaration of built-in function ‘scanf’ ./Main.c:1:13: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’ ./Main.c:1:48: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] main(a,b,c){scanf("%d%d%d",&a,&b,&c);while(c--)printf("-");} ^ ./Main.c:1:48: warning: incompatible implicit declaration of built-in function ‘printf’ ./Main.c:...
Judge Result
Set Name | test_01 | test_02 | test_03 | test_04 | test_05 | test_06 | test_07 | test_08 | test_09 | test_10 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 20000 | 0 / 20000 | 0 / 20000 | 0 / 20000 | 0 / 20000 | 0 / 20000 | 0 / 20000 | 0 / 20000 | 0 / 20000 | 0 / 20000 | ||||||||||||||||||||
Status |
|
|
|
|
|
|
|
|
|
|
Set Name | Test Cases |
---|---|
test_01 | subtask_01_01.txt |
test_02 | subtask_01_02.txt |
test_03 | subtask_01_03.txt |
test_04 | subtask_01_04.txt |
test_05 | subtask_01_05.txt |
test_06 | subtask_01_06.txt |
test_07 | subtask_01_07.txt |
test_08 | subtask_01_08.txt |
test_09 | subtask_01_09.txt |
test_10 | subtask_01_10.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
subtask_01_01.txt | AC | 1 ms | 128 KB |
subtask_01_02.txt | AC | 1 ms | 128 KB |
subtask_01_03.txt | AC | 1 ms | 128 KB |
subtask_01_04.txt | AC | 1 ms | 128 KB |
subtask_01_05.txt | AC | 1 ms | 128 KB |
subtask_01_06.txt | AC | 1 ms | 128 KB |
subtask_01_07.txt | AC | 1 ms | 128 KB |
subtask_01_08.txt | AC | 1 ms | 128 KB |
subtask_01_09.txt | AC | 1 ms | 128 KB |
subtask_01_10.txt | AC | 1 ms | 128 KB |