結果

問題 No.504 ゲーム大会(ランキング)
ユーザー 👑 KazunKazun
提出日時 2020-10-03 03:37:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 142 ms / 2,000 ms
コード長 166 bytes
コンパイル時間 916 ms
コンパイル使用メモリ 86,984 KB
実行使用メモリ 80,040 KB
最終ジャッジ日時 2023-09-25 04:39:20
合計ジャッジ時間 3,277 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,408 KB
testcase_01 AC 69 ms
71,140 KB
testcase_02 AC 68 ms
71,108 KB
testcase_03 AC 69 ms
71,116 KB
testcase_04 AC 69 ms
71,192 KB
testcase_05 AC 72 ms
71,356 KB
testcase_06 AC 69 ms
71,508 KB
testcase_07 AC 142 ms
79,908 KB
testcase_08 AC 134 ms
79,936 KB
testcase_09 AC 131 ms
79,880 KB
testcase_10 AC 130 ms
79,744 KB
testcase_11 AC 131 ms
80,040 KB
testcase_12 AC 129 ms
79,708 KB
testcase_13 AC 129 ms
78,688 KB
testcase_14 AC 132 ms
79,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
alpha=int(input())
X=[0]*N

K=1
X[0]=1

for i in range(N-1):
    a=int(input())
    if a>alpha:
        K+=1
    X[i+1]=K

print("\n".join(map(str,X)))
0