結果

問題 No.549 素材合成システム
ユーザー lenoleno
提出日時 2017-08-06 16:17:40
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 216 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 20,984 KB
最終ジャッジ日時 2024-04-20 03:51:11
合計ジャッジ時間 4,039 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
10,752 KB
testcase_01 AC 25 ms
10,624 KB
testcase_02 AC 25 ms
10,752 KB
testcase_03 AC 25 ms
10,752 KB
testcase_04 AC 25 ms
10,880 KB
testcase_05 AC 27 ms
10,752 KB
testcase_06 AC 26 ms
10,880 KB
testcase_07 AC 79 ms
20,684 KB
testcase_08 AC 77 ms
20,560 KB
testcase_09 AC 77 ms
20,560 KB
testcase_10 AC 79 ms
20,564 KB
testcase_11 AC 76 ms
20,684 KB
testcase_12 AC 76 ms
20,684 KB
testcase_13 AC 77 ms
20,688 KB
testcase_14 AC 76 ms
20,688 KB
testcase_15 AC 76 ms
20,564 KB
testcase_16 AC 75 ms
20,556 KB
testcase_17 AC 62 ms
12,612 KB
testcase_18 AC 55 ms
12,416 KB
testcase_19 AC 59 ms
12,368 KB
testcase_20 AC 58 ms
12,528 KB
testcase_21 AC 72 ms
19,796 KB
testcase_22 AC 69 ms
18,960 KB
testcase_23 AC 76 ms
20,984 KB
testcase_24 AC 73 ms
20,120 KB
testcase_25 AC 68 ms
18,660 KB
testcase_26 AC 80 ms
20,584 KB
testcase_27 AC 67 ms
19,060 KB
testcase_28 AC 25 ms
10,880 KB
testcase_29 AC 24 ms
10,752 KB
testcase_30 AC 24 ms
10,624 KB
testcase_31 AC 66 ms
12,620 KB
testcase_32 AC 65 ms
12,616 KB
testcase_33 AC 63 ms
12,740 KB
testcase_34 AC 64 ms
12,616 KB
testcase_35 AC 77 ms
20,664 KB
testcase_36 AC 64 ms
12,784 KB
testcase_37 AC 65 ms
12,744 KB
testcase_38 AC 26 ms
10,880 KB
testcase_39 AC 26 ms
10,752 KB
testcase_40 AC 56 ms
16,648 KB
testcase_41 AC 40 ms
13,568 KB
testcase_42 AC 27 ms
11,008 KB
testcase_43 AC 39 ms
11,392 KB
testcase_44 AC 31 ms
11,008 KB
testcase_45 AC 41 ms
11,520 KB
testcase_46 AC 35 ms
11,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

if __name__ == '__main__':
    N = int(input())
    x = list(map(int, input().split()))
    SUM = max(x)
    x.remove(max(x))
    for i in range(N - 1):
        SUM += x[i] // 2
    print(SUM)
0