結果

問題 No.549 素材合成システム
ユーザー convexineqconvexineq
提出日時 2021-02-26 01:05:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 113 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 82,464 KB
実行使用メモリ 84,820 KB
最終ジャッジ日時 2024-04-09 03:39:04
合計ジャッジ時間 5,367 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
52,280 KB
testcase_01 AC 35 ms
52,620 KB
testcase_02 AC 36 ms
53,816 KB
testcase_03 AC 35 ms
51,964 KB
testcase_04 AC 36 ms
52,240 KB
testcase_05 AC 41 ms
52,400 KB
testcase_06 AC 35 ms
52,424 KB
testcase_07 AC 78 ms
84,788 KB
testcase_08 AC 77 ms
83,952 KB
testcase_09 AC 77 ms
83,948 KB
testcase_10 AC 78 ms
84,136 KB
testcase_11 AC 78 ms
83,496 KB
testcase_12 AC 79 ms
84,804 KB
testcase_13 AC 77 ms
84,820 KB
testcase_14 AC 77 ms
84,444 KB
testcase_15 AC 78 ms
84,052 KB
testcase_16 AC 77 ms
84,352 KB
testcase_17 AC 58 ms
81,416 KB
testcase_18 AC 55 ms
76,836 KB
testcase_19 AC 59 ms
80,720 KB
testcase_20 AC 59 ms
80,748 KB
testcase_21 AC 64 ms
82,252 KB
testcase_22 AC 59 ms
81,064 KB
testcase_23 AC 62 ms
83,984 KB
testcase_24 AC 74 ms
81,284 KB
testcase_25 AC 70 ms
79,332 KB
testcase_26 AC 77 ms
83,740 KB
testcase_27 AC 72 ms
81,564 KB
testcase_28 AC 37 ms
51,956 KB
testcase_29 AC 35 ms
53,072 KB
testcase_30 AC 36 ms
51,680 KB
testcase_31 AC 60 ms
81,952 KB
testcase_32 AC 60 ms
81,944 KB
testcase_33 AC 60 ms
81,004 KB
testcase_34 AC 62 ms
82,780 KB
testcase_35 AC 66 ms
84,180 KB
testcase_36 AC 67 ms
82,084 KB
testcase_37 AC 65 ms
83,292 KB
testcase_38 AC 38 ms
52,760 KB
testcase_39 AC 39 ms
51,680 KB
testcase_40 AC 66 ms
73,784 KB
testcase_41 AC 52 ms
66,116 KB
testcase_42 AC 44 ms
59,288 KB
testcase_43 AC 50 ms
66,256 KB
testcase_44 AC 45 ms
61,096 KB
testcase_45 AC 51 ms
69,412 KB
testcase_46 AC 47 ms
64,344 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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