結果
問題 | No.452 横着者のビンゴゲーム |
ユーザー | tails |
提出日時 | 2017-01-30 19:04:34 |
言語 | C90 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 1,899 ms / 3,000 ms |
コード長 | 302 bytes |
コンパイル時間 | 256 ms |
コンパイル使用メモリ | 22,136 KB |
実行使用メモリ | 15,888 KB |
最終ジャッジ日時 | 2024-06-06 09:44:04 |
合計ジャッジ時間 | 10,723 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
6,812 KB |
testcase_01 | AC | 1 ms
6,944 KB |
testcase_02 | AC | 0 ms
6,940 KB |
testcase_03 | AC | 1 ms
6,940 KB |
testcase_04 | AC | 1 ms
6,944 KB |
testcase_05 | AC | 2 ms
6,940 KB |
testcase_06 | AC | 1 ms
6,940 KB |
testcase_07 | AC | 1 ms
6,944 KB |
testcase_08 | AC | 1 ms
6,940 KB |
testcase_09 | AC | 1 ms
6,940 KB |
testcase_10 | AC | 1 ms
6,944 KB |
testcase_11 | AC | 1 ms
6,944 KB |
testcase_12 | AC | 1 ms
6,940 KB |
testcase_13 | AC | 0 ms
6,940 KB |
testcase_14 | AC | 1,899 ms
6,940 KB |
testcase_15 | AC | 1,812 ms
6,944 KB |
testcase_16 | AC | 516 ms
6,940 KB |
testcase_17 | AC | 9 ms
15,888 KB |
testcase_18 | AC | 37 ms
6,940 KB |
testcase_19 | AC | 11 ms
6,940 KB |
testcase_20 | AC | 8 ms
7,656 KB |
testcase_21 | AC | 146 ms
6,940 KB |
testcase_22 | AC | 6 ms
9,832 KB |
testcase_23 | AC | 376 ms
6,940 KB |
testcase_24 | AC | 7 ms
13,928 KB |
testcase_25 | AC | 4 ms
7,652 KB |
testcase_26 | AC | 128 ms
6,944 KB |
testcase_27 | AC | 43 ms
6,944 KB |
testcase_28 | AC | 45 ms
6,940 KB |
testcase_29 | AC | 14 ms
6,944 KB |
testcase_30 | AC | 234 ms
6,940 KB |
testcase_31 | AC | 12 ms
6,944 KB |
testcase_32 | AC | 5 ms
6,940 KB |
testcase_33 | AC | 29 ms
6,940 KB |
testcase_34 | AC | 32 ms
6,944 KB |
testcase_35 | AC | 13 ms
6,940 KB |
testcase_36 | AC | 4 ms
7,656 KB |
testcase_37 | AC | 5 ms
11,748 KB |
testcase_38 | AC | 1,324 ms
6,944 KB |
testcase_39 | AC | 513 ms
6,944 KB |
testcase_40 | AC | 514 ms
6,944 KB |
testcase_41 | AC | 505 ms
6,940 KB |
testcase_42 | AC | 514 ms
6,940 KB |
testcase_43 | AC | 528 ms
6,940 KB |
コンパイルメッセージ
main.c:2:1: warning: data definition has no type or storage class 2 | m;d[200][202][100];a;e;z;k;l;i;j;x;y;main(n){scanf("%d%d",&n,&m);a=z=2*n;F(k,m)F(j,n)F(i,n)scanf("%d",&e),d[k][j][i]=d[k][n+i][j]=d[k][i-j?0:z][i]=d[k][n-i+~j?0:z+1][i]=e;F(k,m)F(l,k)F(i,z+2)F(j,z+2){e=z;F(x,n)F(y,n)e-=d[k][i][x]==d[l][j][y];a=e<a?e:a;}a=!printf("%d",a-1);} | ^ main.c:2:1: warning: type defaults to ‘int’ in declaration of ‘m’ [-Wimplicit-int] main.c:2:3: warning: data definition has no type or storage class 2 | m;d[200][202][100];a;e;z;k;l;i;j;x;y;main(n){scanf("%d%d",&n,&m);a=z=2*n;F(k,m)F(j,n)F(i,n)scanf("%d",&e),d[k][j][i]=d[k][n+i][j]=d[k][i-j?0:z][i]=d[k][n-i+~j?0:z+1][i]=e;F(k,m)F(l,k)F(i,z+2)F(j,z+2){e=z;F(x,n)F(y,n)e-=d[k][i][x]==d[l][j][y];a=e<a?e:a;}a=!printf("%d",a-1);} | ^ main.c:2:3: warning: type defaults to ‘int’ in declaration of ‘d’ [-Wimplicit-int] main.c:2:20: warning: data definition has no type or storage class 2 | m;d[200][202][100];a;e;z;k;l;i;j;x;y;main(n){scanf("%d%d",&n,&m);a=z=2*n;F(k,m)F(j,n)F(i,n)scanf("%d",&e),d[k][j][i]=d[k][n+i][j]=d[k][i-j?0:z][i]=d[k][n-i+~j?0:z+1][i]=e;F(k,m)F(l,k)F(i,z+2)F(j,z+2){e=z;F(x,n)F(y,n)e-=d[k][i][x]==d[l][j][y];a=e<a?e:a;}a=!printf("%d",a-1);} | ^ main.c:2:20: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int] main.c:2:22: warning: data definition has no type or storage class 2 | m;d[200][202][100];a;e;z;k;l;i;j;x;y;main(n){scanf("%d%d",&n,&m);a=z=2*n;F(k,m)F(j,n)F(i,n)scanf("%d",&e),d[k][j][i]=d[k][n+i][j]=d[k][i-j?0:z][i]=d[k][n-i+~j?0:z+1][i]=e;F(k,m)F(l,k)F(i,z+2)F(j,z+2){e=z;F(x,n)F(y,n)e-=d[k][i][x]==d[l][j][y];a=e<a?e:a;}a=!printf("%d",a-1);} | ^ main.c:2:22: warning: type defaults to ‘int’ in declaration of ‘e’ [-Wimplicit-int] main.c:2:24: warning: data definition has no type or storage class 2 | m;d[200][202][100];a;e;z;k;l;i;j;x;y;main(n){scanf("%d%d",&n,&m);a=z=2*n;F(k,m)
ソースコード
#define F(i,n)for(i=n;i--;) m;d[200][202][100];a;e;z;k;l;i;j;x;y;main(n){scanf("%d%d",&n,&m);a=z=2*n;F(k,m)F(j,n)F(i,n)scanf("%d",&e),d[k][j][i]=d[k][n+i][j]=d[k][i-j?0:z][i]=d[k][n-i+~j?0:z+1][i]=e;F(k,m)F(l,k)F(i,z+2)F(j,z+2){e=z;F(x,n)F(y,n)e-=d[k][i][x]==d[l][j][y];a=e<a?e:a;}a=!printf("%d",a-1);}