結果
| 問題 | No.504 ゲーム大会(ランキング) | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2017-05-05 20:30:27 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 596 ms / 2,000 ms | 
| コード長 | 228 bytes | 
| コンパイル時間 | 105 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-09-14 08:44:31 | 
| 合計ジャッジ時間 | 6,026 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 13 | 
ソースコード
people_num = int(input())
k_score = int(input())
current_rank = 1
print(1)
for _ in range(1, people_num):
    if int(input()) > k_score:
        current_rank += 1
        print(current_rank)
    else:
        print(current_rank)
            
            
            
        