結果

問題 No.2379 Burnside's Theorem
ユーザー ID 21712
提出日時 2024-11-15 21:11:48
言語 Go
(1.23.4)
結果
WA  
実行時間 -
コード長 236 bytes
コンパイル時間 11,243 ms
コンパイル使用メモリ 220,848 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-15 21:12:02
合計ジャッジ時間 12,410 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 14 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

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 x>1 {
		c++
	}
	if c==2 {
		Println("Yes")
	} else {
		Println("No")
	}
}
0