結果
| 問題 | No.504 ゲーム大会(ランキング) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-19 07:47:42 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 159 bytes |
| 記録 | |
| コンパイル時間 | 98 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 20,864 KB |
| 最終ジャッジ日時 | 2024-06-28 14:19:29 |
| 合計ジャッジ時間 | 4,092 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 5 TLE * 1 -- * 7 |
ソースコード
n = int(input()) k = int(input()) a = [k] + [int(input()) for _ in range(n-1)] print(*[sorted(a[:i+1], reverse=True).index(k) + 1 for i in range(n)], sep="\n")