結果
問題 | No.504 ゲーム大会(ランキング) |
ユーザー |
|
提出日時 | 2022-12-20 11:38:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 315 ms / 2,000 ms |
コード長 | 236 bytes |
コンパイル時間 | 146 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 15,616 KB |
最終ジャッジ日時 | 2024-11-18 01:45:27 |
合計ジャッジ時間 | 4,286 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 |
ソースコード
def main(): scores = [int(input()) for _ in range(int(input()))] rank = 1 print(1) for score in scores[1:]: if score > scores[0]: rank += 1 print(rank) if __name__ == "__main__": main()