結果

問題 No.755 Zero-Sum Rectangle
ユーザー tailstails
提出日時 2018-12-03 01:23:44
言語 cLay
(20240104-1)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 189 bytes
コンパイル時間 1,929 ms
コンパイル使用メモリ 161,420 KB
実行使用メモリ 8,760 KB
最終ジャッジ日時 2023-09-19 00:09:48
合計ジャッジ時間 6,609 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

ll b[150][150],a,n,m,u,v;{rd(n,m);rep(y,m)rep(x,m)rd(a),b[y+1][x+1]=b[y][x+1]+b[y+1][x]-b[y][x]+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