結果

問題 No.2092 Conjugation
ユーザー first_vilfirst_vil
提出日時 2022-10-07 21:39:00
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 148 ms / 2,000 ms
コード長 528 bytes
コンパイル時間 480 ms
コンパイル使用メモリ 87,196 KB
実行使用メモリ 91,496 KB
最終ジャッジ日時 2023-09-03 00:53:26
合計ジャッジ時間 4,402 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
71,052 KB
testcase_01 AC 76 ms
71,212 KB
testcase_02 AC 76 ms
71,404 KB
testcase_03 AC 76 ms
71,428 KB
testcase_04 AC 74 ms
71,248 KB
testcase_05 AC 75 ms
71,480 KB
testcase_06 AC 74 ms
71,056 KB
testcase_07 AC 110 ms
79,460 KB
testcase_08 AC 141 ms
85,020 KB
testcase_09 AC 130 ms
81,552 KB
testcase_10 AC 133 ms
81,772 KB
testcase_11 AC 132 ms
81,928 KB
testcase_12 AC 131 ms
81,512 KB
testcase_13 AC 127 ms
80,500 KB
testcase_14 AC 126 ms
79,836 KB
testcase_15 AC 137 ms
81,988 KB
testcase_16 AC 148 ms
89,588 KB
testcase_17 AC 129 ms
91,496 KB
testcase_18 AC 147 ms
91,296 KB
testcase_19 AC 88 ms
87,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from bisect import bisect_left
import sys

int1 = lambda x: int(x) - 1

# input = lambda: sys.stdin.buffer.readline()
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
i1 = lambda: int1(input())
mi = lambda: map(int, input().split())
mi1 = lambda: map(int1, input().split())
li = lambda: list(mi())
li1 = lambda: list(mi1())
lli = lambda n: [li() for _ in range(n)]

INF = float("inf")
# mod = int(1e9 + 7)
mod = 998244353

n = ii()
a = li()[::-1]
print(*[n - bisect_left(a, i + 1) for i in range(a[-1])])
0