結果
問題 | No.191 供託金 |
ユーザー | bellangeldindon |
提出日時 | 2017-06-03 14:10:34 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 11 ms / 5,000 ms |
コード長 | 230 bytes |
コンパイル時間 | 44 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 04:29:32 |
合計ジャッジ時間 | 1,081 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 23 |
ソースコード
def sum(n, lst):cnt = 0for i in range(0, n):cnt += lst[i]return cntn = int(raw_input())c = map(int, raw_input().split())vote = sum(n, c)cnt = 0for i in range(0, n):if c[i] <= vote / 10:cnt += 1print cnt * 30