結果
| 問題 |
No.504 ゲーム大会(ランキング)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-06-07 16:06:36 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 265 ms / 2,000 ms |
| コード長 | 193 bytes |
| コンパイル時間 | 207 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 20,352 KB |
| 最終ジャッジ日時 | 2024-12-23 17:36:53 |
| 合計ジャッジ時間 | 3,177 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
N = int(input())
ans = [0]*(N)
rank = 1
score = int(input())
for i in range(N-1):
ans[i] = rank
if int(input()) > score:
rank += 1
ans[-1] = rank
print("\n".join(map(str, ans)))