結果

問題 No.2370 He ate many cakes
ユーザー tailstails
提出日時 2023-07-04 09:51:53
言語 cLay
(20240104-1)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 86 bytes
コンパイル時間 4,673 ms
コンパイル使用メモリ 205,536 KB
実行使用メモリ 13,292 KB
最終ジャッジ日時 2023-09-25 07:31:14
合計ジャッジ時間 6,388 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,376 KB
testcase_01 AC 2 ms
4,376 KB
testcase_02 AC 1 ms
4,376 KB
testcase_03 AC 56 ms
8,240 KB
testcase_04 AC 2 ms
4,376 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 2 ms
4,380 KB
testcase_07 AC 2 ms
4,376 KB
testcase_08 AC 1 ms
4,380 KB
testcase_09 AC 2 ms
4,380 KB
testcase_10 AC 7 ms
4,380 KB
testcase_11 AC 24 ms
4,852 KB
testcase_12 AC 67 ms
8,868 KB
testcase_13 AC 93 ms
11,780 KB
testcase_14 AC 33 ms
7,432 KB
testcase_15 AC 132 ms
13,292 KB
testcase_16 AC 111 ms
12,792 KB
testcase_17 AC 126 ms
12,992 KB
testcase_18 AC 13 ms
10,580 KB
testcase_19 AC 1 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,@k,v[2k]{},w=1;rep(i,n){ll@a;REP(j,w)v[w++]=v[j]-a;sortA(w,v);w<?=k;}wt(-v[k-1]);
0