結果

問題 No.2150 Site Supporter
ユーザー harurunharurun
提出日時 2022-12-07 02:21:22
言語 cLay
(20240104-1)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 83 bytes
コンパイル時間 3,661 ms
コンパイル使用メモリ 174,124 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-27 05:11:51
合計ジャッジ時間 4,023 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 1 ms
6,820 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 1 ms
6,944 KB
testcase_07 AC 1 ms
6,940 KB
testcase_08 AC 2 ms
6,940 KB
testcase_09 AC 8 ms
6,944 KB
testcase_10 AC 4 ms
6,944 KB
testcase_11 AC 7 ms
6,940 KB
testcase_12 WA -
testcase_13 AC 2 ms
6,944 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 1 ms
6,940 KB
testcase_17 AC 8 ms
6,940 KB
testcase_18 AC 4 ms
6,940 KB
testcase_19 WA -
testcase_20 AC 6 ms
6,944 KB
testcase_21 AC 2 ms
6,940 KB
testcase_22 AC 7 ms
6,940 KB
testcase_23 WA -
testcase_24 AC 1 ms
6,944 KB
testcase_25 AC 1 ms
6,944 KB
testcase_26 WA -
testcase_27 AC 5 ms
6,940 KB
testcase_28 AC 5 ms
6,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@N,@K,@X,a,b=X,c;VI@A(N);for(ll i:A)c=a,a=min(c,b)+i,b=min(c+X,b)+K;wt(min(a,b));
0