結果

問題 No.549 素材合成システム
ユーザー ああいいああいい
提出日時 2022-01-28 12:18:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 108 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 257 ms
コンパイル使用メモリ 87,264 KB
実行使用メモリ 91,492 KB
最終ジャッジ日時 2023-08-27 23:34:50
合計ジャッジ時間 6,411 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,384 KB
testcase_01 AC 70 ms
71,400 KB
testcase_02 AC 67 ms
71,372 KB
testcase_03 AC 70 ms
71,508 KB
testcase_04 AC 72 ms
71,352 KB
testcase_05 AC 67 ms
71,348 KB
testcase_06 AC 67 ms
71,416 KB
testcase_07 AC 106 ms
91,172 KB
testcase_08 AC 104 ms
91,108 KB
testcase_09 AC 103 ms
91,372 KB
testcase_10 AC 102 ms
90,988 KB
testcase_11 AC 102 ms
91,080 KB
testcase_12 AC 103 ms
91,456 KB
testcase_13 AC 103 ms
91,100 KB
testcase_14 AC 105 ms
90,984 KB
testcase_15 AC 105 ms
91,108 KB
testcase_16 AC 106 ms
90,980 KB
testcase_17 AC 87 ms
89,992 KB
testcase_18 AC 83 ms
86,528 KB
testcase_19 AC 87 ms
89,764 KB
testcase_20 AC 87 ms
89,680 KB
testcase_21 AC 87 ms
89,248 KB
testcase_22 AC 86 ms
88,780 KB
testcase_23 AC 88 ms
90,996 KB
testcase_24 AC 100 ms
89,440 KB
testcase_25 AC 98 ms
87,516 KB
testcase_26 AC 108 ms
91,492 KB
testcase_27 AC 99 ms
89,292 KB
testcase_28 AC 68 ms
71,144 KB
testcase_29 AC 67 ms
71,472 KB
testcase_30 AC 67 ms
71,356 KB
testcase_31 AC 87 ms
89,712 KB
testcase_32 AC 88 ms
89,852 KB
testcase_33 AC 87 ms
89,684 KB
testcase_34 AC 89 ms
89,680 KB
testcase_35 AC 89 ms
90,988 KB
testcase_36 AC 93 ms
90,056 KB
testcase_37 AC 91 ms
90,168 KB
testcase_38 AC 68 ms
71,348 KB
testcase_39 AC 68 ms
71,476 KB
testcase_40 AC 90 ms
84,236 KB
testcase_41 AC 82 ms
78,304 KB
testcase_42 AC 72 ms
76,396 KB
testcase_43 AC 77 ms
79,448 KB
testcase_44 AC 76 ms
76,576 KB
testcase_45 AC 80 ms
80,732 KB
testcase_46 AC 77 ms
77,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

x.sort(reverse = True)
for _ in range(N-1):
    a = x.pop()
    x[0] += a // 2
print(x[0])
0