結果

問題 No.191 供託金
ユーザー Hachimori
提出日時 2015-04-26 22:12:08
言語 Python2
(2.7.18)
結果
AC  
実行時間 11 ms / 5,000 ms
コード長 268 bytes
コンパイル時間 1,119 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-11-16 20:28:36
合計ジャッジ時間 1,300 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python
#coding:utf8

def read():
    input()
    return map(int, raw_input().split())


def work(vList):
    ans = 0
    for v in vList:
        if v <= sum(vList) / 10:
            ans += 30

    print ans


if __name__ == "__main__":
    work(read())
0