結果
| 問題 |
No.549 素材合成システム
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-02-26 01:05:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 81 ms / 2,000 ms |
| コード長 | 113 bytes |
| コンパイル時間 | 235 ms |
| コンパイル使用メモリ | 82,344 KB |
| 実行使用メモリ | 84,096 KB |
| 最終ジャッジ日時 | 2024-10-01 15:26:59 |
| 合計ジャッジ時間 | 4,903 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 44 |
ソースコード
n = int(input())
*a, = map(int,input().split())
a.sort()
x = a[-1]
for i in range(n-1):
x += a[i]//2
print(x)
convexineq