Submission #589102


Source Code Expand

s,n,t,cc;main(c,f){cc++;
	scanf("%d",--c?&t:&n);
	s+=t;
	--n?main(c,c-1?f:t*++n+t):puts(s<f*2?"Pass":"Fail")
		+printf("%d %d %d\n",s,f,cc);}

Submission Info

Submission Time
Task A - もし解けなかったら木の下に埋めて貰っても構わないよ
User musasabi
Language C (GCC 4.9.2)
Score 0
Code Size 147 Byte
Status RE
Exec Time 38 ms
Memory 1040 KB

Compile Error

./Main.c:1:1: warning: data definition has no type or storage class
 s,n,t,cc;main(c,f){cc++;
 ^
./Main.c: In function ‘main’:
./Main.c:2:2: warning: incompatible implicit declaration of built-in function ‘scanf’
  scanf("%d",--c?&t:&n);
  ^
./Main.c:5:4: warning: incompatible implicit declaration of built-in function ‘printf’
   +printf("%d %d %d\n",s,f,cc);}
    ^

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
RE × 42
Set Name Test Cases
All 00_sample_00, 00_sample_01, 00_sample_02, 00_sample_03, 10_rand_00, 10_rand_01, 10_rand_02, 10_rand_03, 10_rand_04, 10_rand_05, 10_rand_06, 10_rand_07, 10_rand_08, 10_rand_09, 11_max_rand_00, 11_max_rand_01, 11_max_rand_02, 11_max_rand_03, 11_max_rand_04, 11_max_rand_05, 11_max_rand_06, 11_max_rand_07, 11_max_rand_08, 11_max_rand_09, 20_border_OK_00, 20_border_OK_01, 20_border_OK_02, 21_max_border_OK_00, 21_max_border_OK_01, 21_max_border_OK_02, 30_border_NG_00, 30_border_NG_01, 30_border_NG_02, 31_max_border_NG_00, 31_max_border_NG_01, 31_max_border_NG_02, 40_special_00, 40_special_01, 40_special_02, 40_special_03, 40_special_04, 40_special_05
Case Name Status Exec Time Memory
00_sample_00 RE 38 ms 996 KB
00_sample_01 RE 30 ms 1016 KB
00_sample_02 RE 28 ms 1000 KB
00_sample_03 RE 36 ms 992 KB
10_rand_00 RE 30 ms 988 KB
10_rand_01 RE 29 ms 956 KB
10_rand_02 RE 28 ms 1000 KB
10_rand_03 RE 29 ms 1004 KB
10_rand_04 RE 30 ms 948 KB
10_rand_05 RE 29 ms 1012 KB
10_rand_06 RE 28 ms 1000 KB
10_rand_07 RE 28 ms 976 KB
10_rand_08 RE 29 ms 960 KB
10_rand_09 RE 31 ms 1036 KB
11_max_rand_00 RE 29 ms 948 KB
11_max_rand_01 RE 31 ms 1008 KB
11_max_rand_02 RE 29 ms 1004 KB
11_max_rand_03 RE 29 ms 960 KB
11_max_rand_04 RE 29 ms 972 KB
11_max_rand_05 RE 29 ms 976 KB
11_max_rand_06 RE 27 ms 1000 KB
11_max_rand_07 RE 31 ms 1036 KB
11_max_rand_08 RE 30 ms 928 KB
11_max_rand_09 RE 30 ms 1004 KB
20_border_OK_00 RE 29 ms 1004 KB
20_border_OK_01 RE 29 ms 1008 KB
20_border_OK_02 RE 28 ms 1000 KB
21_max_border_OK_00 RE 30 ms 960 KB
21_max_border_OK_01 RE 30 ms 976 KB
21_max_border_OK_02 RE 30 ms 964 KB
30_border_NG_00 RE 29 ms 1000 KB
30_border_NG_01 RE 29 ms 1008 KB
30_border_NG_02 RE 29 ms 1004 KB
31_max_border_NG_00 RE 27 ms 1000 KB
31_max_border_NG_01 RE 28 ms 976 KB
31_max_border_NG_02 RE 28 ms 976 KB
40_special_00 RE 31 ms 1040 KB
40_special_01 RE 28 ms 928 KB
40_special_02 RE 29 ms 1008 KB
40_special_03 RE 29 ms 1008 KB
40_special_04 RE 29 ms 956 KB
40_special_05 RE 30 ms 984 KB