結果
問題 |
No.2379 Burnside's Theorem
|
ユーザー |
![]() |
提出日時 | 2024-11-15 21:20:24 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 12 ms / 2,000 ms |
コード長 | 236 bytes |
コンパイル時間 | 11,175 ms |
コンパイル使用メモリ | 232,524 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-15 21:20:37 |
合計ジャッジ時間 | 12,180 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 20 |
ソースコード
package main import . "fmt" func main() { var n,c,x int64 Scan(&n) for x=2;x*x<=n;x++ { if n%x!=0 { continue } c++ for n%x==0 { n/=x } } if n>1 { c++ } if c<=2 { Println("Yes") } else { Println("No") } }