結果

問題 No.504 ゲーム大会(ランキング)
ユーザー Fumiya OgyuFumiya Ogyu
提出日時 2017-08-25 12:27:38
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 209 bytes
コンパイル時間 398 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 17,564 KB
最終ジャッジ日時 2024-04-23 15:15:59
合計ジャッジ時間 4,223 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
13,752 KB
testcase_01 AC 12 ms
6,940 KB
testcase_02 AC 11 ms
6,944 KB
testcase_03 AC 11 ms
6,940 KB
testcase_04 AC 11 ms
6,944 KB
testcase_05 AC 11 ms
6,940 KB
testcase_06 AC 11 ms
6,944 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input()

rank = []

for i in range(n):
    rank.append([i, input()])
    rank.sort(key = lambda x:-x[1])
    for j in range(len(rank)):
        if rank[j][0] == 0:
            print j + 1
            break
0