結果

問題 No.1060 素敵な宝箱
ユーザー tailstails
提出日時 2021-09-14 15:00:40
言語 cLay
(20240104-1)
結果
AC  
実行時間 11 ms / 2,000 ms
コード長 124 bytes
コンパイル時間 5,305 ms
コンパイル使用メモリ 206,968 KB
実行使用メモリ 8,628 KB
最終ジャッジ日時 2023-09-19 02:40:15
合計ジャッジ時間 7,369 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,500 KB
testcase_01 AC 2 ms
7,464 KB
testcase_02 AC 2 ms
7,504 KB
testcase_03 AC 3 ms
7,420 KB
testcase_04 AC 3 ms
7,416 KB
testcase_05 AC 2 ms
7,516 KB
testcase_06 AC 2 ms
7,516 KB
testcase_07 AC 2 ms
7,492 KB
testcase_08 AC 3 ms
7,576 KB
testcase_09 AC 3 ms
7,768 KB
testcase_10 AC 2 ms
7,580 KB
testcase_11 AC 3 ms
7,584 KB
testcase_12 AC 4 ms
7,804 KB
testcase_13 AC 5 ms
7,848 KB
testcase_14 AC 6 ms
7,924 KB
testcase_15 AC 8 ms
8,232 KB
testcase_16 AC 7 ms
7,976 KB
testcase_17 AC 4 ms
7,848 KB
testcase_18 AC 5 ms
7,816 KB
testcase_19 AC 5 ms
7,888 KB
testcase_20 AC 7 ms
8,180 KB
testcase_21 AC 7 ms
8,124 KB
testcase_22 AC 7 ms
8,148 KB
testcase_23 AC 4 ms
8,020 KB
testcase_24 AC 10 ms
8,464 KB
testcase_25 AC 11 ms
8,628 KB
testcase_26 AC 10 ms
8,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll s,a[400][400],d[400];{ll@n,@m;rd(a(m)[0..n-1]);rep(i,n)rep(j,m)d[i]+=sum(a[j](n))*a[j][i];sortA(n,d);s=d[0..n]-s;wt(-s);}
0