結果
| 問題 |
No.191 供託金
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-08-13 23:51:24 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 11 ms / 5,000 ms |
| コード長 | 265 bytes |
| コンパイル時間 | 237 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2024-11-16 22:33:10 |
| 合計ジャッジ時間 | 1,243 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 23 |
ソースコード
#!/usr/bin/python
# -*- coding: utf-8 -*-
N = int(raw_input())
array = map(int, raw_input().split())
sum = float(sum(array))
ans = 0
if sum == 0:
print 30 * len(array)
exit()
for i in array:
if i / sum <= 0.1:
ans += 30
print ans