結果

問題 No.504 ゲーム大会(ランキング)
ユーザー kzyKTkzyKT
提出日時 2016-06-04 20:33:31
言語 Python2
(2.7.18)
結果
AC  
実行時間 571 ms / 2,000 ms
コード長 148 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 9,728 KB
最終ジャッジ日時 2024-04-17 05:14:26
合計ジャッジ時間 6,131 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,528 KB
testcase_01 AC 12 ms
6,528 KB
testcase_02 AC 12 ms
6,528 KB
testcase_03 AC 12 ms
6,528 KB
testcase_04 AC 12 ms
6,528 KB
testcase_05 AC 11 ms
6,528 KB
testcase_06 AC 12 ms
6,400 KB
testcase_07 AC 547 ms
9,600 KB
testcase_08 AC 545 ms
9,728 KB
testcase_09 AC 561 ms
9,600 KB
testcase_10 AC 571 ms
9,600 KB
testcase_11 AC 553 ms
9,600 KB
testcase_12 AC 558 ms
9,472 KB
testcase_13 AC 550 ms
9,728 KB
testcase_14 AC 562 ms
9,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*- 
import sys,math
n=input()
x=0
r=1
for i in range(0,n):
  y=input()
  x = y if i==0 else x
  r = r+1 if x<y else r
  print r
0