結果

問題 No.1416 ショッピングモール
ユーザー harurunharurun
提出日時 2021-02-08 01:41:55
言語 cLay
(20240104-1)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 109 bytes
コンパイル時間 2,298 ms
コンパイル使用メモリ 166,492 KB
実行使用メモリ 5,184 KB
最終ジャッジ日時 2023-09-19 02:09:57
合計ジャッジ時間 5,664 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,992 KB
testcase_01 RE -
testcase_02 AC 1 ms
5,000 KB
testcase_03 AC 2 ms
4,996 KB
testcase_04 AC 1 ms
4,992 KB
testcase_05 AC 2 ms
4,996 KB
testcase_06 AC 1 ms
5,056 KB
testcase_07 AC 2 ms
5,000 KB
testcase_08 AC 1 ms
5,060 KB
testcase_09 AC 2 ms
5,004 KB
testcase_10 AC 2 ms
5,060 KB
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 AC 2 ms
4,380 KB
testcase_15 RE -
testcase_16 AC 2 ms
4,388 KB
testcase_17 RE -
testcase_18 AC 2 ms
4,380 KB
testcase_19 RE -
testcase_20 RE -
testcase_21 RE -
testcase_22 AC 5 ms
4,380 KB
testcase_23 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

{ll@n,c,f;VI@a(n),b(17);sort(a.rbegin(),a.rend());rep(i,17)b[i]=2**i;for(ll i:a)c+=f*i,if(!--b[f])f++;wt(c);}
0