結果

問題 No.549 素材合成システム
ユーザー naimonon77naimonon77
提出日時 2018-02-05 16:43:13
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 195 bytes
コンパイル時間 673 ms
コンパイル使用メモリ 10,680 KB
実行使用メモリ 20,724 KB
最終ジャッジ日時 2023-09-22 08:48:26
合計ジャッジ時間 4,901 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
8,768 KB
testcase_01 AC 19 ms
8,884 KB
testcase_02 AC 19 ms
8,668 KB
testcase_03 AC 19 ms
8,760 KB
testcase_04 AC 20 ms
8,944 KB
testcase_05 AC 20 ms
8,680 KB
testcase_06 AC 19 ms
8,900 KB
testcase_07 AC 99 ms
20,564 KB
testcase_08 AC 98 ms
20,688 KB
testcase_09 AC 93 ms
20,512 KB
testcase_10 AC 95 ms
20,512 KB
testcase_11 AC 91 ms
20,676 KB
testcase_12 AC 91 ms
20,680 KB
testcase_13 AC 93 ms
20,724 KB
testcase_14 AC 91 ms
20,708 KB
testcase_15 AC 91 ms
20,568 KB
testcase_16 AC 94 ms
20,624 KB
testcase_17 AC 49 ms
10,728 KB
testcase_18 AC 44 ms
10,008 KB
testcase_19 AC 50 ms
10,424 KB
testcase_20 AC 48 ms
10,652 KB
testcase_21 AC 62 ms
18,976 KB
testcase_22 AC 60 ms
18,052 KB
testcase_23 AC 67 ms
20,312 KB
testcase_24 AC 89 ms
19,304 KB
testcase_25 AC 78 ms
17,864 KB
testcase_26 AC 97 ms
19,772 KB
testcase_27 AC 80 ms
18,052 KB
testcase_28 AC 21 ms
8,772 KB
testcase_29 AC 20 ms
8,772 KB
testcase_30 AC 20 ms
8,688 KB
testcase_31 AC 52 ms
10,544 KB
testcase_32 AC 52 ms
10,508 KB
testcase_33 AC 52 ms
10,556 KB
testcase_34 AC 53 ms
10,512 KB
testcase_35 AC 67 ms
20,000 KB
testcase_36 AC 54 ms
10,580 KB
testcase_37 AC 55 ms
10,448 KB
testcase_38 AC 19 ms
8,840 KB
testcase_39 AC 19 ms
8,668 KB
testcase_40 AC 63 ms
15,576 KB
testcase_41 AC 38 ms
11,824 KB
testcase_42 AC 21 ms
8,988 KB
testcase_43 AC 31 ms
9,408 KB
testcase_44 AC 23 ms
9,128 KB
testcase_45 AC 33 ms
9,512 KB
testcase_46 AC 27 ms
9,460 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()
x = sorted(x, reverse=True)

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

print(max_v)
0