結果

問題 No.549 素材合成システム
ユーザー DexctersuDexctersu
提出日時 2018-06-15 23:22:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 188 bytes
コンパイル時間 228 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 19,764 KB
最終ジャッジ日時 2023-09-13 05:17:29
合計ジャッジ時間 4,767 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,808 KB
testcase_01 AC 15 ms
7,864 KB
testcase_02 AC 15 ms
7,868 KB
testcase_03 AC 15 ms
7,812 KB
testcase_04 AC 14 ms
7,872 KB
testcase_05 AC 14 ms
7,856 KB
testcase_06 AC 15 ms
7,932 KB
testcase_07 AC 83 ms
19,588 KB
testcase_08 AC 83 ms
19,588 KB
testcase_09 AC 76 ms
19,676 KB
testcase_10 AC 77 ms
19,664 KB
testcase_11 AC 76 ms
19,644 KB
testcase_12 AC 78 ms
19,744 KB
testcase_13 AC 76 ms
19,700 KB
testcase_14 AC 80 ms
19,764 KB
testcase_15 AC 77 ms
19,696 KB
testcase_16 AC 76 ms
19,648 KB
testcase_17 AC 74 ms
9,976 KB
testcase_18 AC 64 ms
9,516 KB
testcase_19 AC 72 ms
9,680 KB
testcase_20 AC 70 ms
9,708 KB
testcase_21 AC 83 ms
18,408 KB
testcase_22 AC 80 ms
17,488 KB
testcase_23 AC 89 ms
19,624 KB
testcase_24 AC 71 ms
18,628 KB
testcase_25 AC 67 ms
17,244 KB
testcase_26 AC 77 ms
19,168 KB
testcase_27 AC 67 ms
17,512 KB
testcase_28 AC 14 ms
7,820 KB
testcase_29 AC 15 ms
7,780 KB
testcase_30 AC 14 ms
7,812 KB
testcase_31 AC 78 ms
10,004 KB
testcase_32 AC 77 ms
9,892 KB
testcase_33 AC 82 ms
9,920 KB
testcase_34 AC 75 ms
9,924 KB
testcase_35 AC 91 ms
19,688 KB
testcase_36 AC 68 ms
9,932 KB
testcase_37 AC 68 ms
10,016 KB
testcase_38 AC 15 ms
7,912 KB
testcase_39 AC 14 ms
7,760 KB
testcase_40 AC 53 ms
14,844 KB
testcase_41 AC 31 ms
11,020 KB
testcase_42 AC 16 ms
8,196 KB
testcase_43 AC 35 ms
8,748 KB
testcase_44 AC 21 ms
8,256 KB
testcase_45 AC 40 ms
8,912 KB
testcase_46 AC 31 ms
8,596 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=list(map(int,input().split()))
high=0
for i in range(n):
    if high<=a[i]:
        k=i
        high=a[i]
for i in range(n):
    if i!=k:
        high+=a[i]//2
print(high)
0