結果
| 問題 |
No.2092 Conjugation
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-10 03:42:26 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 174 bytes |
| コンパイル時間 | 200 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 24,000 KB |
| 最終ジャッジ日時 | 2024-06-24 00:11:04 |
| 合計ジャッジ時間 | 4,155 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 1 WA * 5 TLE * 1 -- * 11 |
ソースコード
n=int(input())
a=list(map(int,input().split()))
def f(x):
if x==0:
return n
return f(x-1)-a.count(x-1)
b=''
for i in range(n+1):
b+=" "+str(f(i))
print(b)