結果

問題 No.549 素材合成システム
ユーザー hir355
提出日時 2021-05-15 02:40:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 125 bytes
コンパイル時間 223 ms
コンパイル使用メモリ 82,136 KB
実行使用メモリ 79,744 KB
最終ジャッジ日時 2024-10-02 09:07:15
合計ジャッジ時間 4,561 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 44
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
x = list(map(int, input().split()))
ans = 0
for y in x:
    ans += y // 2
m = max(x)
print(ans - m // 2 + m)
0