結果
問題 |
No.191 供託金
|
ユーザー |
![]() |
提出日時 | 2019-05-01 11:40:38 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 34 ms / 5,000 ms |
コード長 | 204 bytes |
コンパイル時間 | 211 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-12-31 12:15:49 |
合計ジャッジ時間 | 2,163 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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)