結果

問題 No.2092 Conjugation
ユーザー SidewaysOwlSidewaysOwl
提出日時 2022-10-07 21:22:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 106 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 630 ms
コンパイル使用メモリ 87,068 KB
実行使用メモリ 96,472 KB
最終ジャッジ日時 2023-09-02 23:40:17
合計ジャッジ時間 3,872 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,580 KB
testcase_01 AC 65 ms
71,584 KB
testcase_02 AC 63 ms
71,452 KB
testcase_03 AC 63 ms
71,460 KB
testcase_04 AC 63 ms
71,364 KB
testcase_05 AC 61 ms
71,352 KB
testcase_06 AC 64 ms
71,344 KB
testcase_07 AC 84 ms
80,880 KB
testcase_08 AC 99 ms
89,764 KB
testcase_09 AC 92 ms
83,648 KB
testcase_10 AC 94 ms
84,820 KB
testcase_11 AC 95 ms
84,692 KB
testcase_12 AC 93 ms
83,112 KB
testcase_13 AC 88 ms
81,344 KB
testcase_14 AC 86 ms
81,180 KB
testcase_15 AC 91 ms
82,784 KB
testcase_16 AC 106 ms
94,144 KB
testcase_17 AC 103 ms
95,104 KB
testcase_18 AC 106 ms
96,472 KB
testcase_19 AC 78 ms
87,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
ims = [0] * (max(a) + 1)
for i in range(n):
    ims[0] += 1
    ims[a[i]] -=1
for i in range(1,max(a)+1):
    ims[i] += ims[i-1]
print(*ims[:-1])
0