結果

問題 No.549 素材合成システム
ユーザー adothadoth
提出日時 2017-08-06 11:50:37
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 92 ms / 2,000 ms
コード長 178 bytes
コンパイル時間 134 ms
コンパイル使用メモリ 10,748 KB
実行使用メモリ 19,804 KB
最終ジャッジ日時 2023-08-02 03:33:14
合計ジャッジ時間 4,570 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,812 KB
testcase_01 AC 16 ms
7,808 KB
testcase_02 AC 16 ms
7,820 KB
testcase_03 AC 16 ms
7,888 KB
testcase_04 AC 16 ms
7,896 KB
testcase_05 AC 16 ms
7,804 KB
testcase_06 AC 16 ms
7,864 KB
testcase_07 AC 81 ms
19,724 KB
testcase_08 AC 84 ms
19,612 KB
testcase_09 AC 82 ms
19,764 KB
testcase_10 AC 84 ms
19,720 KB
testcase_11 AC 82 ms
19,632 KB
testcase_12 AC 83 ms
19,728 KB
testcase_13 AC 87 ms
19,776 KB
testcase_14 AC 85 ms
19,804 KB
testcase_15 AC 86 ms
19,680 KB
testcase_16 AC 86 ms
19,712 KB
testcase_17 AC 45 ms
9,912 KB
testcase_18 AC 40 ms
9,528 KB
testcase_19 AC 44 ms
9,680 KB
testcase_20 AC 43 ms
9,740 KB
testcase_21 AC 58 ms
18,380 KB
testcase_22 AC 55 ms
17,328 KB
testcase_23 AC 63 ms
19,764 KB
testcase_24 AC 79 ms
18,464 KB
testcase_25 AC 72 ms
17,308 KB
testcase_26 AC 92 ms
19,312 KB
testcase_27 AC 73 ms
17,456 KB
testcase_28 AC 15 ms
7,888 KB
testcase_29 AC 16 ms
7,864 KB
testcase_30 AC 16 ms
7,780 KB
testcase_31 AC 44 ms
10,008 KB
testcase_32 AC 46 ms
10,008 KB
testcase_33 AC 45 ms
9,912 KB
testcase_34 AC 45 ms
9,916 KB
testcase_35 AC 62 ms
19,724 KB
testcase_36 AC 47 ms
10,092 KB
testcase_37 AC 46 ms
9,992 KB
testcase_38 AC 16 ms
7,952 KB
testcase_39 AC 16 ms
7,868 KB
testcase_40 AC 55 ms
14,800 KB
testcase_41 AC 34 ms
11,428 KB
testcase_42 AC 17 ms
8,248 KB
testcase_43 AC 26 ms
8,752 KB
testcase_44 AC 19 ms
8,264 KB
testcase_45 AC 27 ms
8,856 KB
testcase_46 AC 23 ms
8,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
android = [int(i) for i in input().split()]
android.sort(reverse=True)
synthesis = [android[i]//2 for i in range(n) if i != 0]
print(android[0] + sum(synthesis))
0