結果
問題 |
No.2379 Burnside's Theorem
|
ユーザー |
![]() |
提出日時 | 2024-11-15 21:16:08 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 242 bytes |
コンパイル時間 | 12,847 ms |
コンパイル使用メモリ | 221,916 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-15 21:16:23 |
合計ジャッジ時間 | 12,432 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 14 WA * 6 |
ソースコード
package main import . "fmt" func main() { var n,c,x,m int64 Scan(&n) for x,m=2,n;x*x<=m;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") } }