結果
| 問題 | No.2380 Sylow P-subgroup |
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2025-05-04 22:07:28 |
| 言語 | Go (1.26.1) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 215 bytes |
| 記録 | |
| コンパイル時間 | 12,306 ms |
| コンパイル使用メモリ | 282,200 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-10 12:03:15 |
| 合計ジャッジ時間 | 12,434 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)))
}
ID 21712