結果

問題 No.504 ゲーム大会(ランキング)
ユーザー pofpof
提出日時 2020-01-19 22:49:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 284 ms / 2,000 ms
コード長 182 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 10,728 KB
実行使用メモリ 12,164 KB
最終ジャッジ日時 2023-09-15 20:27:36
合計ジャッジ時間 3,550 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,876 KB
testcase_01 AC 15 ms
7,876 KB
testcase_02 AC 15 ms
7,920 KB
testcase_03 AC 15 ms
7,808 KB
testcase_04 AC 16 ms
7,736 KB
testcase_05 AC 15 ms
7,932 KB
testcase_06 AC 15 ms
7,796 KB
testcase_07 AC 279 ms
10,884 KB
testcase_08 AC 279 ms
10,000 KB
testcase_09 AC 279 ms
10,784 KB
testcase_10 AC 270 ms
9,188 KB
testcase_11 AC 284 ms
11,508 KB
testcase_12 AC 283 ms
12,164 KB
testcase_13 AC 268 ms
9,076 KB
testcase_14 AC 281 ms
10,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = int(input())

r = 1
m = list()
m.append(1)
for i in range(n-1):
    b = int(input())
    if b > a:
        r = r+1
    m.append(r)
    
for i in m:
    print(i)
0