結果

問題 No.549 素材合成システム
ユーザー ああいい
提出日時 2022-01-28 12:17:34
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 144 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 81,920 KB
実行使用メモリ 81,408 KB
最終ジャッジ日時 2024-12-28 09:32:02
合計ジャッジ時間 5,710 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 14 WA * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
x = list(map(int,input().split()))

x.sort(reverse = True)
for _ in range(N-1):
    a = x.pop()
    x[-1] += a // 2
print(x[0])
0