結果

問題 No.504 ゲーム大会(ランキング)
ユーザー matsukin1111matsukin1111
提出日時 2018-12-06 15:46:57
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 286 ms / 2,000 ms
コード長 196 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 10,692 KB
実行使用メモリ 12,268 KB
最終ジャッジ日時 2023-10-12 02:46:20
合計ジャッジ時間 3,876 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,804 KB
testcase_01 AC 15 ms
7,856 KB
testcase_02 AC 15 ms
7,840 KB
testcase_03 AC 15 ms
7,920 KB
testcase_04 AC 15 ms
7,964 KB
testcase_05 AC 15 ms
7,844 KB
testcase_06 AC 15 ms
7,956 KB
testcase_07 AC 286 ms
12,268 KB
testcase_08 AC 280 ms
12,220 KB
testcase_09 AC 283 ms
12,132 KB
testcase_10 AC 270 ms
12,120 KB
testcase_11 AC 283 ms
12,136 KB
testcase_12 AC 281 ms
12,044 KB
testcase_13 AC 273 ms
12,264 KB
testcase_14 AC 281 ms
12,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

number = int(input())
score = []
for i in range(number):
    score.append( int(input()) )

rank = 1
print(rank)
for i in range(number-1):
    if(score[i+1] > score[0]): rank += 1
    print(rank)

0