結果

問題 No.549 素材合成システム
ユーザー syosinnsya8syosinnsya8
提出日時 2020-04-08 23:18:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 83 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 804 ms
コンパイル使用メモリ 10,576 KB
実行使用メモリ 19,752 KB
最終ジャッジ日時 2023-09-26 11:09:10
合計ジャッジ時間 5,609 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,868 KB
testcase_01 AC 16 ms
7,932 KB
testcase_02 AC 15 ms
7,800 KB
testcase_03 AC 15 ms
7,852 KB
testcase_04 AC 15 ms
7,760 KB
testcase_05 AC 15 ms
7,736 KB
testcase_06 AC 15 ms
7,852 KB
testcase_07 AC 77 ms
19,572 KB
testcase_08 AC 77 ms
19,596 KB
testcase_09 AC 78 ms
19,736 KB
testcase_10 AC 78 ms
19,652 KB
testcase_11 AC 79 ms
19,576 KB
testcase_12 AC 78 ms
19,724 KB
testcase_13 AC 79 ms
19,540 KB
testcase_14 AC 79 ms
19,556 KB
testcase_15 AC 78 ms
19,720 KB
testcase_16 AC 77 ms
19,580 KB
testcase_17 AC 62 ms
9,876 KB
testcase_18 AC 53 ms
9,476 KB
testcase_19 AC 60 ms
9,752 KB
testcase_20 AC 59 ms
9,720 KB
testcase_21 AC 71 ms
18,420 KB
testcase_22 AC 70 ms
17,300 KB
testcase_23 AC 83 ms
19,752 KB
testcase_24 AC 75 ms
18,604 KB
testcase_25 AC 68 ms
17,368 KB
testcase_26 AC 78 ms
19,072 KB
testcase_27 AC 69 ms
17,400 KB
testcase_28 AC 16 ms
7,936 KB
testcase_29 AC 15 ms
7,796 KB
testcase_30 AC 15 ms
7,904 KB
testcase_31 AC 65 ms
9,816 KB
testcase_32 AC 65 ms
9,944 KB
testcase_33 AC 64 ms
9,988 KB
testcase_34 AC 64 ms
9,956 KB
testcase_35 AC 79 ms
19,556 KB
testcase_36 AC 65 ms
9,948 KB
testcase_37 AC 67 ms
9,992 KB
testcase_38 AC 16 ms
7,760 KB
testcase_39 AC 16 ms
7,736 KB
testcase_40 AC 53 ms
14,884 KB
testcase_41 AC 34 ms
11,016 KB
testcase_42 AC 17 ms
8,172 KB
testcase_43 AC 32 ms
8,860 KB
testcase_44 AC 20 ms
8,264 KB
testcase_45 AC 35 ms
8,908 KB
testcase_46 AC 28 ms
8,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=list(map(int,input().split()))
num=max(a)
sum=0
for i in range(n):
    sum+=int(a[i]/2)
sum-=int(num/2)
ans=num+sum
print(ans)
0