結果
問題 |
No.504 ゲーム大会(ランキング)
|
ユーザー |
|
提出日時 | 2018-05-19 07:47:42 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
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")