結果

問題 No.549 素材合成システム
ユーザー ssmkzkssmkzk
提出日時 2019-03-18 01:35:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 92 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 773 ms
コンパイル使用メモリ 10,644 KB
実行使用メモリ 19,748 KB
最終ジャッジ日時 2023-09-22 16:28:05
合計ジャッジ時間 5,435 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,876 KB
testcase_01 AC 16 ms
7,860 KB
testcase_02 AC 15 ms
7,812 KB
testcase_03 AC 16 ms
7,820 KB
testcase_04 AC 15 ms
7,836 KB
testcase_05 AC 16 ms
7,812 KB
testcase_06 AC 16 ms
7,836 KB
testcase_07 AC 92 ms
19,680 KB
testcase_08 AC 88 ms
19,540 KB
testcase_09 AC 89 ms
19,540 KB
testcase_10 AC 87 ms
19,624 KB
testcase_11 AC 88 ms
19,636 KB
testcase_12 AC 88 ms
19,652 KB
testcase_13 AC 87 ms
19,600 KB
testcase_14 AC 87 ms
19,640 KB
testcase_15 AC 89 ms
19,680 KB
testcase_16 AC 85 ms
19,604 KB
testcase_17 AC 48 ms
9,872 KB
testcase_18 AC 42 ms
9,400 KB
testcase_19 AC 46 ms
9,788 KB
testcase_20 AC 46 ms
9,656 KB
testcase_21 AC 59 ms
18,312 KB
testcase_22 AC 57 ms
17,316 KB
testcase_23 AC 64 ms
19,748 KB
testcase_24 AC 78 ms
18,448 KB
testcase_25 AC 71 ms
17,312 KB
testcase_26 AC 84 ms
19,084 KB
testcase_27 AC 74 ms
17,412 KB
testcase_28 AC 15 ms
7,876 KB
testcase_29 AC 16 ms
7,872 KB
testcase_30 AC 15 ms
7,976 KB
testcase_31 AC 54 ms
9,904 KB
testcase_32 AC 53 ms
9,864 KB
testcase_33 AC 51 ms
10,052 KB
testcase_34 AC 49 ms
10,016 KB
testcase_35 AC 63 ms
19,596 KB
testcase_36 AC 52 ms
9,864 KB
testcase_37 AC 52 ms
9,860 KB
testcase_38 AC 15 ms
7,736 KB
testcase_39 AC 15 ms
7,740 KB
testcase_40 AC 56 ms
14,844 KB
testcase_41 AC 32 ms
11,148 KB
testcase_42 AC 16 ms
8,208 KB
testcase_43 AC 26 ms
8,680 KB
testcase_44 AC 19 ms
8,228 KB
testcase_45 AC 30 ms
8,908 KB
testcase_46 AC 24 ms
8,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

l = list(map(int, input().split()))

l.sort()
android = l[-1]

for i in range(len(l) - 1):
    android += l[i] // 2

print(android)
0