結果

問題 No.755 Zero-Sum Rectangle
ユーザー tailstails
提出日時 2018-12-03 11:16:08
言語 cLay
(20240104-1)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 186 bytes
コンパイル時間 2,442 ms
コンパイル使用メモリ 161,492 KB
実行使用メモリ 8,768 KB
最終ジャッジ日時 2023-09-19 00:09:41
合計ジャッジ時間 7,124 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 85 ms
4,380 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 104 ms
4,384 KB
testcase_10 AC 118 ms
4,380 KB
testcase_11 WA -
evil_1 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

ll b[150][150],a,n,m,u,v;{rd(n,m);rep(y,m)b[rd(a),y+1][1..m]=b[y][1..]+b[y+1][0..]-b[y][0..]+a;rep(n){a=0;rd(v,u);rep(y,v)rep(x,u)a+=b[v...m][u..m]+b[y][x]==b[v...][x]+b[y][u..];wt(a);}}
0