結果

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

ソースコード

diff #

n = input()
a = map(int, raw_input().split())
m = sum(a)
ans = 0
for i in xrange(n):
  ans += 30 * (m == 0 or 0.1 >= 1.0 * a[i] / m)
print ans

0