結果
| 問題 | No.504 ゲーム大会(ランキング) | 
| コンテスト | |
| ユーザー |  lam6er | 
| 提出日時 | 2025-03-20 19:01:24 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 131 ms / 2,000 ms | 
| コード長 | 187 bytes | 
| コンパイル時間 | 205 ms | 
| コンパイル使用メモリ | 82,900 KB | 
| 実行使用メモリ | 77,824 KB | 
| 最終ジャッジ日時 | 2025-03-20 19:02:21 | 
| 合計ジャッジ時間 | 2,562 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 13 | 
ソースコード
n = int(input())
scores = [int(input()) for _ in range(n)]
k_score = scores[0]
count = 0
print(1)
for i in range(1, n):
    if scores[i] > k_score:
        count += 1
    print(count + 1)
            
            
            
        