結果

問題 No.2092 Conjugation
ユーザー MasKoaTSMasKoaTS
提出日時 2022-10-07 21:25:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 222 bytes
コンパイル時間 259 ms
コンパイル使用メモリ 86,988 KB
実行使用メモリ 102,624 KB
最終ジャッジ日時 2023-09-02 23:49:02
合計ジャッジ時間 3,461 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
82,208 KB
testcase_01 AC 75 ms
82,188 KB
testcase_02 AC 73 ms
82,184 KB
testcase_03 AC 76 ms
82,160 KB
testcase_04 AC 73 ms
82,120 KB
testcase_05 AC 74 ms
82,076 KB
testcase_06 AC 75 ms
82,148 KB
testcase_07 AC 100 ms
94,192 KB
testcase_08 AC 111 ms
101,560 KB
testcase_09 AC 104 ms
96,532 KB
testcase_10 AC 107 ms
97,680 KB
testcase_11 AC 106 ms
97,752 KB
testcase_12 AC 104 ms
96,084 KB
testcase_13 AC 102 ms
94,380 KB
testcase_14 AC 103 ms
94,304 KB
testcase_15 AC 102 ms
95,788 KB
testcase_16 AC 114 ms
101,304 KB
testcase_17 AC 117 ms
102,624 KB
testcase_18 AC 109 ms
101,784 KB
testcase_19 AC 83 ms
94,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int, input().split()))

m = 10 ** 5 + 1
cnt = [0] * m

for k in a:
    cnt[k] += 1
    
from itertools import accumulate
acc = list(accumulate(cnt))

print(*(n - acc[j] for j in range(a[0])))
0