結果

問題 No.549 素材合成システム
ユーザー magurogumamaguroguma
提出日時 2017-08-14 19:30:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 210 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 20,704 KB
最終ジャッジ日時 2024-04-21 11:26:55
合計ジャッジ時間 4,972 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,624 KB
testcase_01 AC 26 ms
10,624 KB
testcase_02 AC 27 ms
10,496 KB
testcase_03 AC 27 ms
10,496 KB
testcase_04 AC 28 ms
10,624 KB
testcase_05 AC 27 ms
10,624 KB
testcase_06 AC 26 ms
10,624 KB
testcase_07 AC 86 ms
20,704 KB
testcase_08 AC 88 ms
20,576 KB
testcase_09 AC 88 ms
20,704 KB
testcase_10 AC 87 ms
20,548 KB
testcase_11 AC 85 ms
20,408 KB
testcase_12 AC 88 ms
20,580 KB
testcase_13 AC 87 ms
20,408 KB
testcase_14 AC 88 ms
20,532 KB
testcase_15 AC 91 ms
20,572 KB
testcase_16 AC 87 ms
20,576 KB
testcase_17 AC 72 ms
12,476 KB
testcase_18 AC 64 ms
11,976 KB
testcase_19 AC 71 ms
12,348 KB
testcase_20 AC 68 ms
12,252 KB
testcase_21 AC 79 ms
19,628 KB
testcase_22 AC 82 ms
18,680 KB
testcase_23 AC 87 ms
20,704 KB
testcase_24 AC 84 ms
19,716 KB
testcase_25 AC 72 ms
18,640 KB
testcase_26 AC 86 ms
20,432 KB
testcase_27 AC 75 ms
18,784 KB
testcase_28 AC 29 ms
10,624 KB
testcase_29 AC 28 ms
10,624 KB
testcase_30 AC 28 ms
10,624 KB
testcase_31 AC 76 ms
12,732 KB
testcase_32 AC 77 ms
12,476 KB
testcase_33 AC 72 ms
12,636 KB
testcase_34 AC 73 ms
12,476 KB
testcase_35 AC 86 ms
20,508 KB
testcase_36 AC 74 ms
12,604 KB
testcase_37 AC 71 ms
12,604 KB
testcase_38 AC 27 ms
10,624 KB
testcase_39 AC 28 ms
10,496 KB
testcase_40 AC 65 ms
16,500 KB
testcase_41 AC 42 ms
13,312 KB
testcase_42 AC 33 ms
10,880 KB
testcase_43 AC 43 ms
11,264 KB
testcase_44 AC 33 ms
10,752 KB
testcase_45 AC 48 ms
11,392 KB
testcase_46 AC 39 ms
11,136 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-

N = int(input())
x = list(map(int, input().split()))

android = max(x)
passed_x = x.index(android)

for i in range(N):
    if i != passed_x:
        android += (x[i]//2)

print(android)
0