結果

問題 No.2092 Conjugation
ユーザー pluto77pluto77
提出日時 2023-01-17 12:57:10
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 156 ms / 2,000 ms
コード長 152 bytes
コンパイル時間 243 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 19,744 KB
最終ジャッジ日時 2023-08-30 17:43:54
合計ジャッジ時間 5,364 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,896 KB
testcase_01 AC 16 ms
7,908 KB
testcase_02 AC 16 ms
7,916 KB
testcase_03 AC 15 ms
7,984 KB
testcase_04 AC 16 ms
7,920 KB
testcase_05 AC 16 ms
7,836 KB
testcase_06 AC 16 ms
7,832 KB
testcase_07 AC 82 ms
10,900 KB
testcase_08 AC 143 ms
16,120 KB
testcase_09 AC 126 ms
14,632 KB
testcase_10 AC 130 ms
15,048 KB
testcase_11 AC 129 ms
15,160 KB
testcase_12 AC 124 ms
14,644 KB
testcase_13 AC 117 ms
14,120 KB
testcase_14 AC 112 ms
13,812 KB
testcase_15 AC 124 ms
14,756 KB
testcase_16 AC 151 ms
17,896 KB
testcase_17 AC 147 ms
19,744 KB
testcase_18 AC 156 ms
19,656 KB
testcase_19 AC 30 ms
9,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect
N=int(input())
A=list(map(int,input().split()))
A.sort()
res=[]
for i in range(A[-1]):
 x=bisect.bisect(A,i)
 res.append(N-x)
print(*res)
0