結果

問題 No.504 ゲーム大会(ランキング)
ユーザー Fumiya Ogyu
提出日時 2017-08-25 12:33:06
言語 Python2
(2.7.18)
結果
AC  
実行時間 540 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 9,472 KB
最終ジャッジ日時 2024-10-15 15:36:52
合計ジャッジ時間 5,168 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input()

a = [1, input()]
print 1

for i in range(n - 1):
    tmp = input()
    if a[1] < tmp:
        a[0] += 1
    print a[0]
0