結果

問題 No.504 ゲーム大会(ランキング)
ユーザー akitsugu777akitsugu777
提出日時 2018-10-29 16:07:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 238 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 318 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 19,828 KB
最終ジャッジ日時 2023-08-12 08:22:28
合計ジャッジ時間 4,342 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,804 KB
testcase_01 AC 15 ms
7,944 KB
testcase_02 AC 15 ms
7,892 KB
testcase_03 AC 16 ms
7,932 KB
testcase_04 AC 16 ms
7,864 KB
testcase_05 AC 16 ms
7,844 KB
testcase_06 AC 15 ms
7,868 KB
testcase_07 AC 231 ms
18,472 KB
testcase_08 AC 231 ms
17,604 KB
testcase_09 AC 234 ms
18,504 KB
testcase_10 AC 233 ms
16,708 KB
testcase_11 AC 238 ms
19,040 KB
testcase_12 AC 238 ms
19,828 KB
testcase_13 AC 226 ms
16,212 KB
testcase_14 AC 233 ms
18,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
k = int(input())

r = 1
l = [1]
for _ in range(n-1):
    if k < int(input()):
        r += 1
    l.append(r)

print('\n'.join(map(str,l)))
0