結果
問題 | No.452 横着者のビンゴゲーム |
ユーザー | FF256grhy |
提出日時 | 2017-01-28 04:56:54 |
言語 | C90 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 2,106 ms / 3,000 ms |
コード長 | 323 bytes |
コンパイル時間 | 301 ms |
コンパイル使用メモリ | 21,888 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-06 07:27:49 |
合計ジャッジ時間 | 11,882 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
5,248 KB |
testcase_01 | AC | 0 ms
5,376 KB |
testcase_02 | AC | 1 ms
5,376 KB |
testcase_03 | AC | 2 ms
5,376 KB |
testcase_04 | AC | 0 ms
5,376 KB |
testcase_05 | AC | 2 ms
5,376 KB |
testcase_06 | AC | 1 ms
5,376 KB |
testcase_07 | AC | 1 ms
5,376 KB |
testcase_08 | AC | 1 ms
5,376 KB |
testcase_09 | AC | 0 ms
5,376 KB |
testcase_10 | AC | 1 ms
5,376 KB |
testcase_11 | AC | 1 ms
5,376 KB |
testcase_12 | AC | 1 ms
5,376 KB |
testcase_13 | AC | 1 ms
5,376 KB |
testcase_14 | AC | 2,106 ms
5,376 KB |
testcase_15 | AC | 2,026 ms
5,376 KB |
testcase_16 | AC | 565 ms
5,376 KB |
testcase_17 | AC | 7 ms
5,376 KB |
testcase_18 | AC | 43 ms
5,376 KB |
testcase_19 | AC | 12 ms
5,376 KB |
testcase_20 | AC | 8 ms
5,376 KB |
testcase_21 | AC | 168 ms
5,376 KB |
testcase_22 | AC | 6 ms
5,376 KB |
testcase_23 | AC | 414 ms
5,376 KB |
testcase_24 | AC | 5 ms
5,376 KB |
testcase_25 | AC | 3 ms
5,376 KB |
testcase_26 | AC | 142 ms
5,376 KB |
testcase_27 | AC | 47 ms
5,376 KB |
testcase_28 | AC | 51 ms
5,376 KB |
testcase_29 | AC | 15 ms
5,376 KB |
testcase_30 | AC | 274 ms
5,376 KB |
testcase_31 | AC | 13 ms
5,376 KB |
testcase_32 | AC | 6 ms
5,376 KB |
testcase_33 | AC | 33 ms
5,376 KB |
testcase_34 | AC | 35 ms
5,376 KB |
testcase_35 | AC | 14 ms
5,376 KB |
testcase_36 | AC | 4 ms
5,376 KB |
testcase_37 | AC | 4 ms
5,376 KB |
testcase_38 | AC | 1,500 ms
5,376 KB |
testcase_39 | AC | 566 ms
5,376 KB |
testcase_40 | AC | 567 ms
5,376 KB |
testcase_41 | AC | 564 ms
5,376 KB |
testcase_42 | AC | 564 ms
5,376 KB |
testcase_43 | AC | 566 ms
5,376 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.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.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.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.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.c:2:24: warning: type defaults to ‘int’ in declaration of ‘z’ [-Wimplicit-int] main.c:2:26: 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.c:2:26: warning: type defaults to ‘int’ in declaration of ‘k’ [-Wimplicit-int] main.c:2:28: 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.c:2:28: warning: type defaults to ‘int’ in declaration of ‘l’ [-Wimplicit-int] main.c:2:30: 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.c:2:30: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int] main.c:2:32: warning: data definition has no type or storage class 2 | m;d[200][202][100];a;e;z;k;l;i;j;x;y; |
ソースコード
#define F(i,n)for(i=0;i<n;i++) m;d[200][202][100];a;e;z;k;l;i;j;x;y; int main(n){ scanf("%d%d",&n,&m);a=z=2*n; F(k,m)F(i,n)F(j,n)scanf("%d",&e),d[k][i][j]=d[k][n+j][i]=d[k][z-(i!=j)][i]=d[k][n-i-j-1?z-1: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); }