結果

問題 No.549 素材合成システム
ユーザー naimonon77naimonon77
提出日時 2018-02-06 09:31:23
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 166 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 10,740 KB
実行使用メモリ 20,756 KB
最終ジャッジ日時 2023-09-22 23:04:51
合計ジャッジ時間 5,044 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
8,872 KB
testcase_01 AC 19 ms
8,744 KB
testcase_02 AC 18 ms
8,716 KB
testcase_03 AC 18 ms
8,724 KB
testcase_04 AC 18 ms
8,848 KB
testcase_05 AC 19 ms
8,868 KB
testcase_06 AC 19 ms
8,844 KB
testcase_07 AC 87 ms
20,700 KB
testcase_08 AC 85 ms
20,544 KB
testcase_09 AC 85 ms
20,552 KB
testcase_10 AC 85 ms
20,748 KB
testcase_11 AC 86 ms
20,756 KB
testcase_12 AC 85 ms
20,556 KB
testcase_13 AC 84 ms
20,644 KB
testcase_14 AC 87 ms
20,752 KB
testcase_15 AC 89 ms
20,644 KB
testcase_16 AC 87 ms
20,556 KB
testcase_17 AC 47 ms
10,604 KB
testcase_18 AC 42 ms
10,180 KB
testcase_19 AC 47 ms
10,444 KB
testcase_20 AC 46 ms
10,760 KB
testcase_21 AC 58 ms
19,088 KB
testcase_22 AC 56 ms
18,124 KB
testcase_23 AC 63 ms
20,412 KB
testcase_24 AC 81 ms
19,272 KB
testcase_25 AC 73 ms
18,096 KB
testcase_26 AC 86 ms
19,800 KB
testcase_27 AC 77 ms
18,084 KB
testcase_28 AC 19 ms
8,872 KB
testcase_29 AC 18 ms
8,752 KB
testcase_30 AC 18 ms
8,708 KB
testcase_31 AC 49 ms
10,632 KB
testcase_32 AC 49 ms
10,740 KB
testcase_33 AC 49 ms
10,616 KB
testcase_34 AC 49 ms
10,744 KB
testcase_35 AC 62 ms
20,296 KB
testcase_36 AC 51 ms
10,736 KB
testcase_37 AC 50 ms
10,736 KB
testcase_38 AC 18 ms
8,916 KB
testcase_39 AC 18 ms
8,852 KB
testcase_40 AC 58 ms
15,532 KB
testcase_41 AC 35 ms
11,748 KB
testcase_42 AC 20 ms
9,140 KB
testcase_43 AC 29 ms
9,564 KB
testcase_44 AC 22 ms
9,128 KB
testcase_45 AC 31 ms
9,544 KB
testcase_46 AC 27 ms
9,256 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import random

MAX = int(1e8)

N = int(input())
x = list(map(int, input().split()))
x = sorted(x)
max_v = x[-1]
x.pop()

for v in x:
    max_v += v // 2

print(max_v)
0