結果

問題 No.504 ゲーム大会(ランキング)
ユーザー 0w10w1
提出日時 2017-04-21 22:34:18
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 275 ms / 2,000 ms
コード長 147 bytes
コンパイル時間 1,118 ms
コンパイル使用メモリ 86,800 KB
実行使用メモリ 77,768 KB
最終ジャッジ日時 2023-09-27 11:20:50
合計ジャッジ時間 4,238 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,272 KB
testcase_01 AC 63 ms
71,144 KB
testcase_02 AC 62 ms
71,180 KB
testcase_03 AC 61 ms
71,244 KB
testcase_04 AC 63 ms
71,204 KB
testcase_05 AC 64 ms
71,272 KB
testcase_06 AC 62 ms
71,452 KB
testcase_07 AC 264 ms
77,748 KB
testcase_08 AC 268 ms
77,576 KB
testcase_09 AC 268 ms
77,576 KB
testcase_10 AC 266 ms
77,356 KB
testcase_11 AC 265 ms
77,524 KB
testcase_12 AC 256 ms
77,144 KB
testcase_13 AC 253 ms
77,136 KB
testcase_14 AC 275 ms
77,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int( input() )
me = 0
cnt = 0
for i in range( N ):
  v = int( input() )
  if i == 0:
    me = v
  if v > me:
    cnt += 1
  print( cnt + 1 )
  
0