結果
| 問題 |
No.1904 Never giving up!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-02 00:52:08 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 209 bytes |
| コンパイル時間 | 114 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-12-24 07:08:31 |
| 合計ジャッジ時間 | 1,133 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 9 |
ソースコード
import math
import collections
n=int(input())
x=list(map(int,input().split()))
y=collections.Counter(x)
z=list(map(int,list(y.values())))
a=(math.factorial (n))
for i in z:
a/=(math.factorial(z))
print(a)