結果
問題 | No.2379 Burnside's Theorem |
ユーザー |
![]() |
提出日時 | 2024-11-15 21:17:19 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 11,379 ms |
コンパイル使用メモリ | 222,000 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-15 21:17:33 |
合計ジャッジ時間 | 12,375 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 14 WA * 6 |
ソースコード
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") } }