結果
| 問題 |
No.191 供託金
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-05-28 15:50:15 |
| 言語 | Python2 (2.7.18) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 251 bytes |
| コンパイル時間 | 521 ms |
| コンパイル使用メモリ | 7,072 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-07 16:04:01 |
| 合計ジャッジ時間 | 1,748 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 RE * 1 |
ソースコード
# -*- coding:utf-8 -*- import sys 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