結果
問題 |
No.504 ゲーム大会(ランキング)
|
ユーザー |
![]() |
提出日時 | 2025-03-20 21:12:30 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 127 ms / 2,000 ms |
コード長 | 187 bytes |
コンパイル時間 | 188 ms |
コンパイル使用メモリ | 82,908 KB |
実行使用メモリ | 77,676 KB |
最終ジャッジ日時 | 2025-03-20 21:14:15 |
合計ジャッジ時間 | 2,782 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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)