Submission #1437027
Source Code Expand
s;main(a,b){scanf("%*d");for(;~scanf("%d%d",&a,&b);s+=a*b);s*=1.05,puts(s);}
Submission Info
Submission Time | |
---|---|
Task | A - 元気にお使い!高橋君 |
User | sira |
Language | C (GCC 5.4.1) |
Score | 0 |
Code Size | 76 Byte |
Status | RE |
Exec Time | 99 ms |
Memory | 128 KB |
Compile Error
./Main.c:1:1: warning: data definition has no type or storage class s;main(a,b){scanf("%*d");for(;~scanf("%d%d",&a,&b);s+=a*b);s*=1.05,puts(s);} ^ ./Main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int] ./Main.c:1:3: warning: return type defaults to ‘int’ [-Wimplicit-int] s;main(a,b){scanf("%*d");for(;~scanf("%d%d",&a,&b);s+=a*b);s*=1.05,puts(s);} ^ ./Main.c: In function ‘main’: ./Main.c:1:3: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int] ./Main.c:1:3: warning: type of ‘b’ defaults to ‘int’ [-Wimplicit-int] ./Main.c:1:13: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration] s;main(a,b){scanf("%*d");for(;~scanf("%d%d",&a,&b);s+=a*b);s*=1.05,puts(s);} ^ ./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:68: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration] s;main(a,b){...
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_sample1.txt, 00_sample2.txt, 00_sample3.txt, 00_sample4.txt, 01_rand_00.txt, 01_rand_01.txt, 01_rand_02.txt, 01_rand_03.txt, 01_rand_04.txt, 01_rand_05.txt, 01_rand_06.txt, 01_rand_07.txt, 01_rand_08.txt, 01_rand_09.txt, 01_rand_10.txt, 01_rand_11.txt, 01_rand_12.txt, 01_rand_13.txt, 01_rand_14.txt, 01_rand_15.txt, 01_rand_16.txt, 01_rand_17.txt, 01_rand_18.txt, 01_rand_19.txt, 02_maxrand_00.txt, 02_maxrand_01.txt, 02_maxrand_02.txt, 02_maxrand_03.txt, 02_maxrand_04.txt, 02_maxrand_05.txt, 02_maxrand_06.txt, 02_maxrand_07.txt, 02_maxrand_08.txt, 02_maxrand_09.txt, 02_maxrand_10.txt, 02_maxrand_11.txt, 02_maxrand_12.txt, 02_maxrand_13.txt, 02_maxrand_14.txt, 02_maxrand_15.txt, 02_maxrand_16.txt, 02_maxrand_17.txt, 02_maxrand_18.txt, 02_maxrand_19.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample1.txt | RE | 96 ms | 128 KB |
00_sample2.txt | RE | 96 ms | 128 KB |
00_sample3.txt | RE | 96 ms | 128 KB |
00_sample4.txt | RE | 96 ms | 128 KB |
01_rand_00.txt | RE | 96 ms | 128 KB |
01_rand_01.txt | RE | 95 ms | 128 KB |
01_rand_02.txt | RE | 96 ms | 128 KB |
01_rand_03.txt | RE | 96 ms | 128 KB |
01_rand_04.txt | RE | 96 ms | 128 KB |
01_rand_05.txt | RE | 97 ms | 128 KB |
01_rand_06.txt | RE | 96 ms | 128 KB |
01_rand_07.txt | RE | 96 ms | 128 KB |
01_rand_08.txt | RE | 96 ms | 128 KB |
01_rand_09.txt | RE | 96 ms | 128 KB |
01_rand_10.txt | RE | 96 ms | 128 KB |
01_rand_11.txt | RE | 96 ms | 128 KB |
01_rand_12.txt | RE | 96 ms | 128 KB |
01_rand_13.txt | RE | 95 ms | 128 KB |
01_rand_14.txt | RE | 96 ms | 128 KB |
01_rand_15.txt | RE | 96 ms | 128 KB |
01_rand_16.txt | RE | 96 ms | 128 KB |
01_rand_17.txt | RE | 95 ms | 128 KB |
01_rand_18.txt | RE | 96 ms | 128 KB |
01_rand_19.txt | RE | 96 ms | 128 KB |
02_maxrand_00.txt | RE | 95 ms | 128 KB |
02_maxrand_01.txt | RE | 97 ms | 128 KB |
02_maxrand_02.txt | RE | 96 ms | 128 KB |
02_maxrand_03.txt | RE | 95 ms | 128 KB |
02_maxrand_04.txt | RE | 96 ms | 128 KB |
02_maxrand_05.txt | RE | 95 ms | 128 KB |
02_maxrand_06.txt | RE | 96 ms | 128 KB |
02_maxrand_07.txt | RE | 95 ms | 128 KB |
02_maxrand_08.txt | RE | 95 ms | 128 KB |
02_maxrand_09.txt | RE | 96 ms | 128 KB |
02_maxrand_10.txt | RE | 95 ms | 128 KB |
02_maxrand_11.txt | RE | 99 ms | 128 KB |
02_maxrand_12.txt | RE | 95 ms | 128 KB |
02_maxrand_13.txt | RE | 95 ms | 128 KB |
02_maxrand_14.txt | RE | 95 ms | 128 KB |
02_maxrand_15.txt | RE | 95 ms | 128 KB |
02_maxrand_16.txt | RE | 95 ms | 128 KB |
02_maxrand_17.txt | RE | 96 ms | 128 KB |
02_maxrand_18.txt | RE | 96 ms | 128 KB |
02_maxrand_19.txt | RE | 95 ms | 128 KB |