結果

問題 No.549 素材合成システム
ユーザー brthyyjpbrthyyjp
提出日時 2021-10-22 13:43:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 125 bytes
コンパイル時間 231 ms
コンパイル使用メモリ 81,708 KB
実行使用メモリ 80,004 KB
最終ジャッジ日時 2023-10-23 22:20:00
合計ジャッジ時間 5,826 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,300 KB
testcase_01 AC 38 ms
53,300 KB
testcase_02 AC 38 ms
53,300 KB
testcase_03 AC 38 ms
53,300 KB
testcase_04 AC 38 ms
53,300 KB
testcase_05 AC 39 ms
53,300 KB
testcase_06 AC 38 ms
53,300 KB
testcase_07 AC 77 ms
79,872 KB
testcase_08 AC 77 ms
79,884 KB
testcase_09 AC 77 ms
79,884 KB
testcase_10 AC 77 ms
79,884 KB
testcase_11 AC 78 ms
79,884 KB
testcase_12 AC 77 ms
79,884 KB
testcase_13 AC 77 ms
79,884 KB
testcase_14 AC 77 ms
79,884 KB
testcase_15 AC 79 ms
79,884 KB
testcase_16 AC 77 ms
79,884 KB
testcase_17 AC 58 ms
78,500 KB
testcase_18 AC 55 ms
73,344 KB
testcase_19 AC 61 ms
78,452 KB
testcase_20 AC 57 ms
78,420 KB
testcase_21 AC 59 ms
77,836 KB
testcase_22 AC 59 ms
77,748 KB
testcase_23 AC 62 ms
79,620 KB
testcase_24 AC 75 ms
78,112 KB
testcase_25 AC 70 ms
76,464 KB
testcase_26 AC 76 ms
80,004 KB
testcase_27 AC 72 ms
77,892 KB
testcase_28 AC 39 ms
53,312 KB
testcase_29 AC 38 ms
53,312 KB
testcase_30 AC 38 ms
53,312 KB
testcase_31 AC 58 ms
78,500 KB
testcase_32 AC 58 ms
78,500 KB
testcase_33 AC 57 ms
78,500 KB
testcase_34 AC 58 ms
78,500 KB
testcase_35 AC 60 ms
79,584 KB
testcase_36 AC 62 ms
78,708 KB
testcase_37 AC 61 ms
78,708 KB
testcase_38 AC 38 ms
53,312 KB
testcase_39 AC 37 ms
53,312 KB
testcase_40 AC 63 ms
71,440 KB
testcase_41 AC 50 ms
65,528 KB
testcase_42 AC 43 ms
59,676 KB
testcase_43 AC 46 ms
64,536 KB
testcase_44 AC 43 ms
61,724 KB
testcase_45 AC 47 ms
67,896 KB
testcase_46 AC 44 ms
63,048 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
X = list(map(int, input().split()))
X.sort()
ans = X[-1]
for i in range(n-1):
    ans += X[i]//2
print(ans)
0