結果

問題 No.549 素材合成システム
ユーザー takakintakakin
提出日時 2020-05-12 20:14:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 94 ms / 2,000 ms
コード長 182 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 10,572 KB
実行使用メモリ 19,748 KB
最終ジャッジ日時 2023-10-11 21:37:20
合計ジャッジ時間 5,431 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,812 KB
testcase_01 AC 15 ms
7,700 KB
testcase_02 AC 15 ms
7,876 KB
testcase_03 AC 15 ms
7,820 KB
testcase_04 AC 16 ms
7,836 KB
testcase_05 AC 16 ms
7,792 KB
testcase_06 AC 15 ms
7,740 KB
testcase_07 AC 89 ms
19,516 KB
testcase_08 AC 90 ms
19,540 KB
testcase_09 AC 88 ms
19,636 KB
testcase_10 AC 89 ms
19,700 KB
testcase_11 AC 90 ms
19,712 KB
testcase_12 AC 92 ms
19,636 KB
testcase_13 AC 89 ms
19,644 KB
testcase_14 AC 90 ms
19,748 KB
testcase_15 AC 88 ms
19,572 KB
testcase_16 AC 92 ms
19,688 KB
testcase_17 AC 51 ms
9,852 KB
testcase_18 AC 45 ms
9,456 KB
testcase_19 AC 51 ms
9,736 KB
testcase_20 AC 49 ms
9,640 KB
testcase_21 AC 62 ms
18,476 KB
testcase_22 AC 59 ms
17,420 KB
testcase_23 AC 66 ms
19,692 KB
testcase_24 AC 83 ms
18,596 KB
testcase_25 AC 75 ms
17,308 KB
testcase_26 AC 94 ms
19,104 KB
testcase_27 AC 79 ms
17,348 KB
testcase_28 AC 16 ms
7,836 KB
testcase_29 AC 15 ms
7,792 KB
testcase_30 AC 16 ms
7,812 KB
testcase_31 AC 53 ms
9,924 KB
testcase_32 AC 53 ms
9,848 KB
testcase_33 AC 53 ms
9,804 KB
testcase_34 AC 53 ms
9,952 KB
testcase_35 AC 67 ms
19,704 KB
testcase_36 AC 55 ms
9,928 KB
testcase_37 AC 56 ms
9,976 KB
testcase_38 AC 15 ms
7,836 KB
testcase_39 AC 15 ms
7,680 KB
testcase_40 AC 58 ms
14,864 KB
testcase_41 AC 33 ms
10,896 KB
testcase_42 AC 17 ms
8,280 KB
testcase_43 AC 29 ms
8,836 KB
testcase_44 AC 20 ms
8,160 KB
testcase_45 AC 32 ms
8,844 KB
testcase_46 AC 25 ms
8,580 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda: sys.stdin.readline().rstrip()
n=int(input())
X=[int(i) for i in input().split()]
X.sort(reverse=True)
ans=X[0]
for i in range(1,n):
  ans+=X[i]//2
print(ans)
0