結果
| 問題 |
No.504 ゲーム大会(ランキング)
|
| コンテスト | |
| ユーザー |
shika_126
|
| 提出日時 | 2022-03-27 07:55:33 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 183 bytes |
| コンパイル時間 | 106 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 18,208 KB |
| 最終ジャッジ日時 | 2024-11-06 02:56:49 |
| 合計ジャッジ時間 | 4,071 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 5 TLE * 1 -- * 7 |
ソースコード
from collections import deque
n = int(input())
k = int(input())
l = deque([k])
print(1)
for i in range(n-1):
l.append(int(input()))
l = sorted(l)[::-1]
print(l.index(k)+1)
shika_126