結果

問題 No.504 ゲーム大会(ランキング)
ユーザー utsumidaisukeutsumidaisuke
提出日時 2018-12-18 18:04:12
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 171 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 11,796 KB
実行使用メモリ 20,608 KB
最終ジャッジ日時 2023-10-25 23:40:51
合計ジャッジ時間 4,021 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
20,608 KB
testcase_01 AC 25 ms
9,948 KB
testcase_02 AC 26 ms
9,948 KB
testcase_03 AC 26 ms
9,948 KB
testcase_04 AC 27 ms
9,948 KB
testcase_05 AC 26 ms
9,948 KB
testcase_06 AC 25 ms
9,948 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

k = int(input())

ls=[k]
print(1)
for i in range(n-1):
    s = int(input())
    ls.append(s)
    ls.sort()
    ls.reverse()
    print(1+ls.index(k))
    
0