結果

問題 No.191 供託金
ユーザー ktshun
提出日時 2015-05-28 15:49:41
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 240 bytes
コンパイル時間 250 ms
コンパイル使用メモリ 6,948 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-07 16:03:52
合計ジャッジ時間 1,594 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding:utf-8 -*-

if __name__ == "__main__":
	n = input()
	if n == 0:
		print 0
		sys.exit()
	nums = map(int,raw_input().split())
	sum = 0
	ans = 0
	for i in nums:
		sum += i
	for i in nums:
		if sum / i >= 10:
			ans += 30
	print ans
0