結果

問題 No.504 ゲーム大会(ランキング)
ユーザー dangodango
提出日時 2023-06-06 19:32:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 156 ms / 2,000 ms
コード長 160 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 87,120 KB
実行使用メモリ 80,788 KB
最終ジャッジ日時 2023-08-28 10:45:49
合計ジャッジ時間 3,645 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,124 KB
testcase_01 AC 71 ms
71,332 KB
testcase_02 AC 73 ms
71,380 KB
testcase_03 AC 71 ms
71,412 KB
testcase_04 AC 72 ms
71,384 KB
testcase_05 AC 71 ms
71,272 KB
testcase_06 AC 72 ms
71,256 KB
testcase_07 AC 148 ms
80,480 KB
testcase_08 AC 150 ms
80,740 KB
testcase_09 AC 153 ms
80,268 KB
testcase_10 AC 149 ms
80,660 KB
testcase_11 AC 156 ms
80,708 KB
testcase_12 AC 147 ms
80,788 KB
testcase_13 AC 142 ms
80,720 KB
testcase_14 AC 154 ms
80,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
RANK = 1
SCORE = []
for i in range(N):
	SCORE.append(int(input()))
K = SCORE[0]
for J in range(N):
	if K < SCORE[J]:
		RANK += 1
	print(RANK)
	
0