結果

問題 No.504 ゲーム大会(ランキング)
コンテスト
ユーザー cologne
提出日時 2025-11-17 14:48:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 90 ms / 2,000 ms
コード長 303 bytes
コンパイル時間 344 ms
コンパイル使用メモリ 82,400 KB
実行使用メモリ 76,488 KB
最終ジャッジ日時 2025-11-17 14:48:55
合計ジャッジ時間 3,165 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import sys


def input(): return sys.stdin.readline().rstrip('\n')


def main():
    n = int(input())
    a = int(input())
    print(1)
    x = 1
    for i in range(1, n):
        z = int(input())
        if z > a:
            x += 1
        print(x)


if __name__ == '__main__':
    main()
0