結果
問題 | No.549 素材合成システム |
ユーザー |
|
提出日時 | 2017-08-06 11:50:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 114 ms / 2,000 ms |
コード長 | 178 bytes |
コンパイル時間 | 84 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 20,836 KB |
最終ジャッジ日時 | 2024-10-11 22:43:33 |
合計ジャッジ時間 | 4,687 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 44 |
ソースコード
n = int(input()) android = [int(i) for i in input().split()] android.sort(reverse=True) synthesis = [android[i]//2 for i in range(n) if i != 0] print(android[0] + sum(synthesis))