結果
| 問題 | No.504 ゲーム大会(ランキング) | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2018-06-02 23:52:17 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 350 ms / 2,000 ms | 
| コード長 | 257 bytes | 
| コンパイル時間 | 79 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 14,848 KB | 
| 最終ジャッジ日時 | 2024-06-30 09:09:52 | 
| 合計ジャッジ時間 | 4,182 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 13 | 
ソースコード
num = int(input()) ranking = 1 k_score = int(input()) ranklist = [] ranklist.append(ranking) for i in range(num - 1): another_score = int(input()) if k_score < another_score: ranking = ranking + 1 ranklist.append(ranking) for j in ranklist: print(j)
