結果
問題 |
No.2380 Sylow P-subgroup
|
ユーザー |
![]() |
提出日時 | 2025-05-04 22:07:28 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 215 bytes |
コンパイル時間 | 12,382 ms |
コンパイル使用メモリ | 236,372 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-05-04 22:07:41 |
合計ジャッジ時間 | 13,338 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 |
ソースコード
package main import . "fmt" import . "math/big" func main() { var n, p int64 Scan(&n,&p) c := n / p n /= p for n >= p { c += n / p n /= p } Println(new(Int).Exp(NewInt(p),NewInt(c),NewInt(998244353))) }