結果

問題 No.2370 He ate many cakes
ユーザー tailstails
提出日時 2023-07-04 09:50:50
言語 cLay
(20240104-1)
結果
AC  
実行時間 178 ms / 2,000 ms
コード長 97 bytes
コンパイル時間 5,470 ms
コンパイル使用メモリ 204,912 KB
実行使用メモリ 13,260 KB
最終ジャッジ日時 2023-09-25 07:30:04
合計ジャッジ時間 6,807 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 AC 2 ms
4,376 KB
testcase_02 AC 1 ms
4,376 KB
testcase_03 AC 57 ms
8,216 KB
testcase_04 AC 1 ms
4,376 KB
testcase_05 AC 1 ms
4,376 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 AC 1 ms
4,380 KB
testcase_08 AC 1 ms
4,376 KB
testcase_09 AC 2 ms
4,380 KB
testcase_10 AC 7 ms
4,376 KB
testcase_11 AC 24 ms
5,072 KB
testcase_12 AC 71 ms
8,984 KB
testcase_13 AC 107 ms
12,004 KB
testcase_14 AC 33 ms
7,488 KB
testcase_15 AC 178 ms
13,260 KB
testcase_16 AC 122 ms
12,788 KB
testcase_17 AC 172 ms
13,192 KB
testcase_18 AC 14 ms
10,504 KB
testcase_19 AC 2 ms
4,376 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