結果
問題 |
No.549 素材合成システム
|
ユーザー |
|
提出日時 | 2024-05-17 10:29:50 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 82 ms / 2,000 ms |
コード長 | 138 bytes |
コンパイル時間 | 165 ms |
コンパイル使用メモリ | 82,424 KB |
実行使用メモリ | 82,204 KB |
最終ジャッジ日時 | 2024-12-20 11:35:39 |
合計ジャッジ時間 | 5,170 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 44 |
ソースコード
N = int(input()) x = list(map(int, input().split())) x.sort(reverse=True) ans = x[0] for i in range(1, N): ans += x[i] // 2 print(ans)