結果
| 問題 | No.191 供託金 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-04 18:37:20 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 5,000 ms |
| コード長 | 155 bytes |
| 記録 | |
| コンパイル時間 | 571 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-03-16 09:17:29 |
| 合計ジャッジ時間 | 4,380 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 23 |
ソースコード
n = int(input())
C = list(map(int, input().split()))
total = sum(C) if sum(C) != 0 else float("inf")
print(sum([30 if c / total <= 0.1 else 0 for c in C]))