結果

問題 No.2092 Conjugation
ユーザー flygonflygon
提出日時 2022-10-07 21:23:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 143 ms / 2,000 ms
コード長 184 bytes
コンパイル時間 553 ms
コンパイル使用メモリ 87,140 KB
実行使用メモリ 91,060 KB
最終ジャッジ日時 2023-09-02 23:44:54
合計ジャッジ時間 3,845 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,512 KB
testcase_01 AC 68 ms
71,424 KB
testcase_02 AC 69 ms
71,244 KB
testcase_03 AC 68 ms
71,536 KB
testcase_04 AC 71 ms
71,204 KB
testcase_05 AC 68 ms
71,452 KB
testcase_06 AC 66 ms
71,204 KB
testcase_07 AC 103 ms
81,276 KB
testcase_08 AC 135 ms
84,996 KB
testcase_09 AC 130 ms
83,008 KB
testcase_10 AC 136 ms
83,676 KB
testcase_11 AC 128 ms
83,612 KB
testcase_12 AC 122 ms
82,932 KB
testcase_13 AC 116 ms
83,000 KB
testcase_14 AC 115 ms
81,832 KB
testcase_15 AC 126 ms
83,772 KB
testcase_16 AC 143 ms
89,388 KB
testcase_17 AC 122 ms
91,060 KB
testcase_18 AC 141 ms
90,496 KB
testcase_19 AC 82 ms
86,680 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
a1 = a[0]
import bisect
a.sort()
ans = []
for i in range(1, a1+1):
  t = bisect.bisect_left(a, i)
  ans.append(n - t)
print(*ans)
  
0