結果

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

ソースコード

diff #

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

0