結果
| 問題 | No.2326 Factorial to the Power of Factorial to the... |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-28 15:30:12 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 102 bytes |
| 記録 | |
| コンパイル時間 | 269 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 198,144 KB |
| 最終ジャッジ日時 | 2026-06-01 23:03:00 |
| 合計ジャッジ時間 | 7,067 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 2 |
| other | TLE * 1 -- * 19 |
ソースコード
n,p = map(int,input().split()) a = 1 for i in range(2,n+1): a*=i print((a**(a**a)//(a*p))%(10**9+7))