結果

問題 No.191 供託金
ユーザー alcoholamp
提出日時 2019-10-25 18:39:24
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 37 ms / 5,000 ms
コード長 323 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-21 07:15:44
合計ジャッジ時間 1,888 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

class Problem0191:
    def solve(this):
        n = int(input())
        c = list(map(int, input().split()))
        
        t = sum(c) * 0.1
        res = 0
        for i in c:
            if i <= t:
                res += 30
        print(res)

if __name__ == "__main__":
    problem = Problem0191()
    problem.solve()
0