結果

問題 No.2424 Josouzai
ユーザー 👑 p-adicp-adic
提出日時 2023-08-18 21:04:27
言語 cLay
(20240104-1)
結果
AC  
実行時間 23 ms / 2,000 ms
コード長 82 bytes
コンパイル時間 2,824 ms
コンパイル使用メモリ 174,452 KB
実行使用メモリ 6,016 KB
最終ジャッジ日時 2024-05-06 02:31:24
合計ジャッジ時間 3,691 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
5,248 KB
testcase_01 AC 1 ms
5,248 KB
testcase_02 AC 1 ms
5,376 KB
testcase_03 AC 2 ms
5,376 KB
testcase_04 AC 8 ms
5,376 KB
testcase_05 AC 22 ms
5,888 KB
testcase_06 AC 23 ms
6,016 KB
testcase_07 AC 23 ms
5,888 KB
testcase_08 AC 22 ms
5,888 KB
testcase_09 AC 1 ms
5,376 KB
testcase_10 AC 4 ms
5,376 KB
testcase_11 AC 8 ms
5,760 KB
testcase_12 AC 7 ms
5,376 KB
testcase_13 AC 7 ms
5,376 KB
testcase_14 AC 12 ms
5,376 KB
testcase_15 AC 3 ms
5,376 KB
testcase_16 AC 19 ms
5,760 KB
testcase_17 AC 5 ms
5,376 KB
testcase_18 AC 7 ms
5,376 KB
testcase_19 AC 10 ms
5,376 KB
testcase_20 AC 19 ms
5,632 KB
testcase_21 AC 15 ms
5,504 KB
testcase_22 AC 7 ms
5,376 KB
testcase_23 AC 8 ms
5,376 KB
testcase_24 AC 4 ms
5,376 KB
testcase_25 AC 20 ms
5,760 KB
testcase_26 AC 15 ms
5,376 KB
testcase_27 AC 22 ms
5,888 KB
testcase_28 AC 18 ms
5,760 KB
testcase_29 AC 16 ms
5,504 KB
testcase_30 AC 5 ms
5,376 KB
testcase_31 AC 10 ms
5,376 KB
testcase_32 AC 23 ms
5,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@N,@K,@A[N],x=0;
sort(A,A+N);
rep[A](a,N){if(K>=a)K-=a,x++;else break;}
wt(x,K);
0