結果
問題 | No.452 横着者のビンゴゲーム |
ユーザー | tails |
提出日時 | 2017-01-30 18:56:34 |
言語 | C90 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 300 bytes |
コンパイル時間 | 147 ms |
コンパイル使用メモリ | 22,520 KB |
実行使用メモリ | 13,800 KB |
最終ジャッジ日時 | 2024-06-06 09:40:52 |
合計ジャッジ時間 | 11,197 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | AC | 1 ms
5,376 KB |
testcase_03 | AC | 1 ms
6,940 KB |
testcase_04 | WA | - |
testcase_05 | AC | 2 ms
6,940 KB |
testcase_06 | AC | 0 ms
5,376 KB |
testcase_07 | AC | 0 ms
5,376 KB |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | AC | 1 ms
6,944 KB |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | AC | 1,881 ms
5,376 KB |
testcase_16 | WA | - |
testcase_17 | AC | 7 ms
5,376 KB |
testcase_18 | AC | 45 ms
5,376 KB |
testcase_19 | AC | 15 ms
6,948 KB |
testcase_20 | AC | 8 ms
5,376 KB |
testcase_21 | AC | 176 ms
6,940 KB |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | AC | 5 ms
5,376 KB |
testcase_25 | WA | - |
testcase_26 | AC | 141 ms
5,376 KB |
testcase_27 | AC | 52 ms
6,944 KB |
testcase_28 | WA | - |
testcase_29 | WA | - |
testcase_30 | AC | 273 ms
6,948 KB |
testcase_31 | AC | 15 ms
6,944 KB |
testcase_32 | WA | - |
testcase_33 | AC | 34 ms
5,376 KB |
testcase_34 | AC | 35 ms
5,376 KB |
testcase_35 | WA | - |
testcase_36 | WA | - |
testcase_37 | WA | - |
testcase_38 | WA | - |
testcase_39 | WA | - |
testcase_40 | AC | 591 ms
6,944 KB |
testcase_41 | WA | - |
testcase_42 | AC | 590 ms
6,944 KB |
testcase_43 | AC | 590 ms
6,940 KB |
コンパイルメッセージ
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][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;}m=!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][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;}m=!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][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;}m=!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][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;}m=!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][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;}m=!printf("%d",a-1);}