結果

問題 No.191 供託金
ユーザー _KingdomOfMoray
提出日時 2019-12-16 00:00:29
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 5,000 ms
コード長 217 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-02 18:30:54
合計ジャッジ時間 1,571 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
c_list = list(map(int,input().split()))

possible = sum(c_list)
standard = possible / 10

money = 0
for i in range(n):
    if c_list[i] <= standard:
        money += 30
        
res = money
print(res)
0