結果

問題 No.549 素材合成システム
ユーザー GrayCoderGrayCoder
提出日時 2017-07-29 00:09:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 437 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 20,840 KB
最終ジャッジ日時 2024-04-18 13:48:32
合計ジャッジ時間 4,489 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,752 KB
testcase_01 AC 27 ms
10,624 KB
testcase_02 AC 28 ms
10,624 KB
testcase_03 AC 28 ms
10,624 KB
testcase_04 AC 28 ms
10,624 KB
testcase_05 AC 28 ms
10,752 KB
testcase_06 AC 27 ms
10,624 KB
testcase_07 AC 98 ms
20,544 KB
testcase_08 AC 93 ms
20,668 KB
testcase_09 AC 96 ms
20,540 KB
testcase_10 AC 95 ms
20,536 KB
testcase_11 AC 97 ms
20,540 KB
testcase_12 AC 99 ms
20,708 KB
testcase_13 AC 99 ms
20,536 KB
testcase_14 AC 93 ms
20,664 KB
testcase_15 AC 94 ms
20,668 KB
testcase_16 AC 97 ms
20,532 KB
testcase_17 AC 55 ms
12,732 KB
testcase_18 AC 51 ms
12,132 KB
testcase_19 AC 57 ms
12,640 KB
testcase_20 AC 57 ms
12,516 KB
testcase_21 AC 70 ms
19,652 KB
testcase_22 AC 70 ms
19,324 KB
testcase_23 AC 77 ms
20,840 KB
testcase_24 AC 92 ms
19,848 KB
testcase_25 AC 86 ms
18,768 KB
testcase_26 AC 96 ms
20,436 KB
testcase_27 AC 88 ms
18,912 KB
testcase_28 AC 28 ms
10,624 KB
testcase_29 AC 27 ms
10,624 KB
testcase_30 AC 26 ms
10,624 KB
testcase_31 AC 62 ms
12,736 KB
testcase_32 AC 62 ms
12,864 KB
testcase_33 AC 61 ms
12,732 KB
testcase_34 AC 62 ms
12,732 KB
testcase_35 AC 76 ms
20,772 KB
testcase_36 AC 59 ms
12,736 KB
testcase_37 AC 61 ms
12,736 KB
testcase_38 AC 27 ms
10,624 KB
testcase_39 AC 27 ms
10,624 KB
testcase_40 AC 66 ms
16,632 KB
testcase_41 AC 43 ms
13,440 KB
testcase_42 AC 28 ms
10,880 KB
testcase_43 AC 38 ms
11,392 KB
testcase_44 AC 29 ms
10,880 KB
testcase_45 AC 40 ms
11,520 KB
testcase_46 AC 35 ms
11,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    N = int(input())
    X = tuple(map(int, input().split()))

    x = sorted(X)
    for i in range(N - 1):
        x[N-1] += x[i] // 2

    print(x[N-1])

main()
0