結果

問題 No.549 素材合成システム
ユーザー ysys
提出日時 2018-02-10 21:42:01
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 117 bytes
コンパイル時間 100 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 19,740 KB
最終ジャッジ日時 2023-08-06 05:41:30
合計ジャッジ時間 3,911 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,888 KB
testcase_01 AC 15 ms
7,928 KB
testcase_02 AC 15 ms
7,876 KB
testcase_03 AC 15 ms
7,732 KB
testcase_04 AC 15 ms
7,876 KB
testcase_05 AC 14 ms
7,732 KB
testcase_06 AC 15 ms
7,856 KB
testcase_07 AC 72 ms
19,680 KB
testcase_08 AC 71 ms
19,576 KB
testcase_09 AC 74 ms
19,468 KB
testcase_10 AC 73 ms
19,536 KB
testcase_11 AC 71 ms
19,612 KB
testcase_12 AC 74 ms
19,740 KB
testcase_13 AC 73 ms
19,556 KB
testcase_14 AC 73 ms
19,552 KB
testcase_15 AC 73 ms
19,556 KB
testcase_16 AC 73 ms
19,672 KB
testcase_17 AC 38 ms
10,288 KB
testcase_18 AC 33 ms
9,932 KB
testcase_19 AC 36 ms
10,224 KB
testcase_20 AC 36 ms
10,224 KB
testcase_21 AC 47 ms
18,452 KB
testcase_22 AC 46 ms
17,332 KB
testcase_23 AC 52 ms
19,644 KB
testcase_24 AC 67 ms
18,536 KB
testcase_25 AC 61 ms
17,184 KB
testcase_26 AC 70 ms
19,236 KB
testcase_27 AC 63 ms
17,388 KB
testcase_28 AC 15 ms
7,728 KB
testcase_29 AC 15 ms
7,832 KB
testcase_30 AC 15 ms
7,828 KB
testcase_31 AC 38 ms
10,304 KB
testcase_32 AC 38 ms
10,336 KB
testcase_33 AC 38 ms
10,304 KB
testcase_34 AC 38 ms
10,356 KB
testcase_35 AC 51 ms
19,584 KB
testcase_36 AC 39 ms
10,316 KB
testcase_37 AC 39 ms
10,188 KB
testcase_38 AC 15 ms
7,880 KB
testcase_39 AC 15 ms
7,828 KB
testcase_40 AC 49 ms
14,832 KB
testcase_41 AC 29 ms
11,728 KB
testcase_42 AC 16 ms
8,224 KB
testcase_43 AC 23 ms
8,696 KB
testcase_44 AC 18 ms
8,396 KB
testcase_45 AC 24 ms
8,832 KB
testcase_46 AC 20 ms
8,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
x = map(int, input().split())
x = sorted(x)
a = x[-1]
x = [i // 2 for i in x[:-1]]
print(a + sum(x))
0