Submission #573210
Source Code Expand
n;main(a){for(scanf("%d%d",&n,&a),a*=2*n-1;scanf("%d",&n);a-=n);n=!puts(a>0?"Pass":"Fail");}
Submission Info
Submission Time | |
---|---|
Task | A - もし解けなかったら木の下に埋めて貰っても構わないよ |
User | math |
Language | C (GCC 4.9.2) |
Score | 0 |
Code Size | 92 Byte |
Status | TLE |
Exec Time | 5036 ms |
Memory | 816 KB |
Compile Error
./Main.c:1:1: warning: data definition has no type or storage class n;main(a){for(scanf("%d%d",&n,&a),a*=2*n-1;scanf("%d",&n);a-=n);n=!puts(a>0?"Pass":"Fail");} ^ ./Main.c: In function ‘main’: ./Main.c:1:15: warning: incompatible implicit declaration of built-in function ‘scanf’ n;main(a){for(scanf("%d%d",&n,&a),a*=2*n-1;scanf("%d",&n);a-=n);n=!puts(a>0?"Pass":"Fail");} ^
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
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 | TLE | 5034 ms | 700 KB |
00_sample_01 | TLE | 5035 ms | 800 KB |
00_sample_02 | TLE | 5036 ms | 800 KB |
00_sample_03 | TLE | 5032 ms | 800 KB |
10_rand_00 | TLE | 5034 ms | 800 KB |
10_rand_01 | TLE | 5034 ms | 800 KB |
10_rand_02 | TLE | 5034 ms | 796 KB |
10_rand_03 | TLE | 5035 ms | 796 KB |
10_rand_04 | TLE | 5035 ms | 792 KB |
10_rand_05 | TLE | 5034 ms | 796 KB |
10_rand_06 | TLE | 5033 ms | 804 KB |
10_rand_07 | TLE | 5034 ms | 808 KB |
10_rand_08 | TLE | 5034 ms | 800 KB |
10_rand_09 | TLE | 5034 ms | 800 KB |
11_max_rand_00 | TLE | 5035 ms | 800 KB |
11_max_rand_01 | TLE | 5034 ms | 804 KB |
11_max_rand_02 | TLE | 5034 ms | 804 KB |
11_max_rand_03 | TLE | 5032 ms | 808 KB |
11_max_rand_04 | TLE | 5034 ms | 800 KB |
11_max_rand_05 | TLE | 5034 ms | 816 KB |
11_max_rand_06 | TLE | 5034 ms | 800 KB |
11_max_rand_07 | TLE | 5034 ms | 812 KB |
11_max_rand_08 | TLE | 5033 ms | 804 KB |
11_max_rand_09 | TLE | 5033 ms | 800 KB |
20_border_OK_00 | TLE | 5033 ms | 808 KB |
20_border_OK_01 | TLE | 5035 ms | 792 KB |
20_border_OK_02 | TLE | 5034 ms | 804 KB |
21_max_border_OK_00 | TLE | 5034 ms | 708 KB |
21_max_border_OK_01 | TLE | 5032 ms | 808 KB |
21_max_border_OK_02 | TLE | 5032 ms | 804 KB |
30_border_NG_00 | TLE | 5034 ms | 796 KB |
30_border_NG_01 | TLE | 5032 ms | 800 KB |
30_border_NG_02 | TLE | 5033 ms | 808 KB |
31_max_border_NG_00 | TLE | 5034 ms | 812 KB |
31_max_border_NG_01 | TLE | 5034 ms | 804 KB |
31_max_border_NG_02 | TLE | 5034 ms | 712 KB |
40_special_00 | TLE | 5033 ms | 808 KB |
40_special_01 | TLE | 5035 ms | 800 KB |
40_special_02 | TLE | 5034 ms | 800 KB |
40_special_03 | TLE | 5034 ms | 796 KB |
40_special_04 | TLE | 5034 ms | 800 KB |
40_special_05 | TLE | 5035 ms | 800 KB |