結果

問題 No.1141 田グリッド
ユーザー tailstails
提出日時 2020-07-31 21:47:55
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 183 bytes
コンパイル時間 2,684 ms
コンパイル使用メモリ 173,980 KB
実行使用メモリ 6,176 KB
最終ジャッジ日時 2023-09-19 00:53:05
合計ジャッジ時間 8,333 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,504 KB
testcase_01 AC 3 ms
4,544 KB
testcase_02 AC 3 ms
4,496 KB
testcase_03 AC 3 ms
4,424 KB
testcase_04 AC 3 ms
4,440 KB
testcase_05 AC 3 ms
4,488 KB
testcase_06 AC 3 ms
4,452 KB
testcase_07 AC 3 ms
4,460 KB
testcase_08 AC 3 ms
4,500 KB
testcase_09 AC 3 ms
4,576 KB
testcase_10 AC 3 ms
4,512 KB
testcase_11 AC 3 ms
4,580 KB
testcase_12 AC 3 ms
4,504 KB
testcase_13 AC 29 ms
5,960 KB
testcase_14 AC 33 ms
5,992 KB
testcase_15 AC 33 ms
5,940 KB
testcase_16 AC 32 ms
6,176 KB
testcase_17 AC 32 ms
5,996 KB
testcase_18 AC 25 ms
5,616 KB
testcase_19 AC 26 ms
5,576 KB
testcase_20 AC 26 ms
5,568 KB
testcase_21 AC 32 ms
6,012 KB
testcase_22 AC 32 ms
5,996 KB
testcase_23 AC 32 ms
5,952 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

ll h,w,q,x,y;
Mint a[1d5],b[1d5],c[1d5],d=1;
{
	rd(h,w,a(h*w),q);
	b[0..h-1]=1;
	c[0..w-1]=1;
	rep(y,h)rep(x,w)(b[y],c[x],d)*=a[x+w*y];
	rep(q)rd(y--,x--),wt(d*a[x+w*y]/b[y]/c[x]);
}
0