結果

問題 No.504 ゲーム大会(ランキング)
ユーザー yomo3
提出日時 2020-02-20 15:47:40
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 188 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 17,888 KB
最終ジャッジ日時 2024-10-08 18:59:37
合計ジャッジ時間 3,413 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 12 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

from itertools import accumulate

N = int(input())
a0 = int(input())
gt = [1 if int(input()) > a0 else 0 for _ in range(N-1)]
gt[0] += 1
ans = list(accumulate(gt))
print(1, *ans, sep='\n')
0