結果

問題 No.2092 Conjugation
ユーザー ああああ
提出日時 2022-10-12 12:13:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 173 bytes
コンパイル時間 1,045 ms
コンパイル使用メモリ 87,036 KB
実行使用メモリ 96,296 KB
最終ジャッジ日時 2023-09-08 13:11:03
合計ジャッジ時間 4,749 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,224 KB
testcase_01 AC 73 ms
71,364 KB
testcase_02 AC 72 ms
71,272 KB
testcase_03 AC 73 ms
71,252 KB
testcase_04 AC 71 ms
70,968 KB
testcase_05 AC 73 ms
71,256 KB
testcase_06 AC 74 ms
71,108 KB
testcase_07 AC 97 ms
80,848 KB
testcase_08 AC 114 ms
89,540 KB
testcase_09 AC 105 ms
83,184 KB
testcase_10 AC 105 ms
84,612 KB
testcase_11 AC 106 ms
84,556 KB
testcase_12 AC 104 ms
82,764 KB
testcase_13 AC 101 ms
81,428 KB
testcase_14 AC 101 ms
80,996 KB
testcase_15 AC 103 ms
82,668 KB
testcase_16 AC 117 ms
94,000 KB
testcase_17 AC 118 ms
94,800 KB
testcase_18 AC 119 ms
96,296 KB
testcase_19 AC 90 ms
87,316 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

cnt=[0]*(max(A)+1)
for i in range(N):
    cnt[A[i]]+=1

for i in range(max(A),0,-1):
    cnt[i-1]+=cnt[i]

print(*cnt[1:])

0