結果

問題 No.2092 Conjugation
ユーザー minimumminimum
提出日時 2022-10-07 21:27:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 192 bytes
コンパイル時間 267 ms
コンパイル使用メモリ 87,164 KB
実行使用メモリ 101,788 KB
最終ジャッジ日時 2023-09-03 00:07:06
合計ジャッジ時間 3,977 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,596 KB
testcase_01 AC 70 ms
71,232 KB
testcase_02 AC 73 ms
71,228 KB
testcase_03 AC 67 ms
71,536 KB
testcase_04 AC 68 ms
71,272 KB
testcase_05 AC 69 ms
71,472 KB
testcase_06 AC 69 ms
71,616 KB
testcase_07 AC 96 ms
86,380 KB
testcase_08 AC 110 ms
94,856 KB
testcase_09 AC 102 ms
88,844 KB
testcase_10 AC 104 ms
90,076 KB
testcase_11 AC 103 ms
90,060 KB
testcase_12 AC 100 ms
88,292 KB
testcase_13 AC 97 ms
86,464 KB
testcase_14 AC 97 ms
86,492 KB
testcase_15 AC 101 ms
88,192 KB
testcase_16 AC 112 ms
99,480 KB
testcase_17 AC 117 ms
100,216 KB
testcase_18 AC 117 ms
101,788 KB
testcase_19 AC 83 ms
87,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from itertools import accumulate


N = int(input())
A = list(map(int, input().split()))

B = [0] * A[0]
for i in range(N):
    B[A[0] - A[i]] += 1
B = list(accumulate(B))
B.reverse()
print(*B)
0