結果
| 問題 |
No.2379 Burnside's Theorem
|
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2024-11-15 21:14:07 |
| 言語 | Go (1.23.4) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 242 bytes |
| コンパイル時間 | 13,928 ms |
| コンパイル使用メモリ | 228,552 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-15 21:14:22 |
| 合計ジャッジ時間 | 14,884 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / 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 x>1 {
c++
}
if c==2 {
Println("Yes")
} else {
Println("No")
}
}
ID 21712