結果
問題 | No.452 横着者のビンゴゲーム |
ユーザー | tails |
提出日時 | 2017-01-30 18:49:22 |
言語 | C90 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 300 bytes |
コンパイル時間 | 288 ms |
コンパイル使用メモリ | 22,400 KB |
実行使用メモリ | 15,872 KB |
最終ジャッジ日時 | 2024-06-06 09:38:42 |
合計ジャッジ時間 | 12,104 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
6,812 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | AC | 1 ms
6,940 KB |
testcase_06 | WA | - |
testcase_07 | AC | 1 ms
6,944 KB |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | AC | 1 ms
6,940 KB |
testcase_11 | AC | 2 ms
6,940 KB |
testcase_12 | WA | - |
testcase_13 | AC | 1 ms
6,948 KB |
testcase_14 | AC | 2,072 ms
6,940 KB |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | AC | 9 ms
15,872 KB |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | AC | 10 ms
7,652 KB |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | AC | 433 ms
6,940 KB |
testcase_24 | AC | 7 ms
13,804 KB |
testcase_25 | AC | 4 ms
6,940 KB |
testcase_26 | AC | 148 ms
6,940 KB |
testcase_27 | AC | 51 ms
6,940 KB |
testcase_28 | WA | - |
testcase_29 | AC | 17 ms
6,944 KB |
testcase_30 | WA | - |
testcase_31 | AC | 14 ms
6,940 KB |
testcase_32 | AC | 6 ms
6,940 KB |
testcase_33 | AC | 36 ms
6,948 KB |
testcase_34 | AC | 38 ms
6,944 KB |
testcase_35 | WA | - |
testcase_36 | AC | 5 ms
7,656 KB |
testcase_37 | AC | 6 ms
11,880 KB |
testcase_38 | WA | - |
testcase_39 | AC | 588 ms
6,940 KB |
testcase_40 | WA | - |
testcase_41 | AC | 589 ms
6,944 KB |
testcase_42 | AC | 590 ms
6,948 KB |
testcase_43 | WA | - |
コンパイルメッセージ
main.c:2:1: warning: data definition has no type or storage class 2 | m;d[200][202][100];e;z;k;l;i;j;x;y;main(n,a){scanf("%d%d",&n,&m);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][z+!(n-i+~j)][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];e;z;k;l;i;j;x;y;main(n,a){scanf("%d%d",&n,&m);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][z+!(n-i+~j)][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];e;z;k;l;i;j;x;y;main(n,a){scanf("%d%d",&n,&m);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][z+!(n-i+~j)][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 ‘e’ [-Wimplicit-int] main.c:2:22: warning: data definition has no type or storage class 2 | m;d[200][202][100];e;z;k;l;i;j;x;y;main(n,a){scanf("%d%d",&n,&m);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][z+!(n-i+~j)][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 ‘z’ [-Wimplicit-int] main.c:2:24: warning: data definition has no type or storage class 2 | m;d[200][202][100];e;z;k;l;i;j;x;y;main(n,a){scanf("%d%d",&n,&m);z=2*n;F(k,m)F(i,n)F(j,
ソースコード
#define F(i,n)for(i=n;i--;) m;d[200][202][100];e;z;k;l;i;j;x;y;main(n,a){scanf("%d%d",&n,&m);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][z+!(n-i+~j)][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);}