結果
| 問題 | No.191 供託金 |
| コンテスト | |
| ユーザー |
iad_2889
|
| 提出日時 | 2019-05-01 11:40:38 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 21 ms / 5,000 ms |
| + 76µs | |
| コード長 | 204 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2026-10-09 22:51:02 |
| 合計ジャッジ時間 | 2,234 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 23 |
ソースコード
def my_round(x:int):
return int((x * 2 + 1) // 2)
input()
votes = [int(x) for x in input().split()]
base = my_round(sum(votes) / 10)
payment = 30 * len([x for x in votes if x <= base])
print(payment)
iad_2889