結果

問題 No.504 ゲーム大会(ランキング)
ユーザー Cyberdog-しばいぬ-Cyberdog-しばいぬ-
提出日時 2019-02-10 17:40:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 264 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 252 ms
コンパイル使用メモリ 10,704 KB
実行使用メモリ 19,176 KB
最終ジャッジ日時 2023-09-20 19:18:25
合計ジャッジ時間 4,638 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,840 KB
testcase_01 AC 16 ms
7,904 KB
testcase_02 AC 16 ms
7,784 KB
testcase_03 AC 16 ms
7,768 KB
testcase_04 AC 16 ms
7,820 KB
testcase_05 AC 16 ms
7,824 KB
testcase_06 AC 16 ms
7,904 KB
testcase_07 AC 258 ms
19,176 KB
testcase_08 AC 259 ms
19,024 KB
testcase_09 AC 264 ms
18,988 KB
testcase_10 AC 259 ms
18,992 KB
testcase_11 AC 261 ms
19,120 KB
testcase_12 AC 261 ms
19,164 KB
testcase_13 AC 250 ms
19,128 KB
testcase_14 AC 263 ms
19,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
s = [input() for i in range(N)]
s = list(map(int, s))
ys = s[0]
nr = 1
for i in range(N):
    if ys < s[i]:
        nr += 1
        print(nr)
    else:
        print(nr)
0