結果
問題 | No.1416 ショッピングモール |
ユーザー |
|
提出日時 | 2021-03-09 16:00:01 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 67 ms / 1,000 ms |
コード長 | 150 bytes |
コンパイル時間 | 349 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 15,484 KB |
最終ジャッジ日時 | 2024-10-11 12:27:15 |
合計ジャッジ時間 | 2,294 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
#yuki1416n=int(input())a=sorted(list(map(int,input().split())),reverse=True)res=0for i,x in enumerate(a,1):res+=x*(i.bit_length()-1)print(res)