結果
| 問題 | No.2379 Burnside's Theorem |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-07-14 21:58:24 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 38 ms / 2,000 ms |
| + 777µs | |
| コード長 | 199 bytes |
| 記録 | |
| コンパイル時間 | 673 ms |
| コンパイル使用メモリ | 65,024 KB |
| 実行使用メモリ | 58,848 KB |
| 最終ジャッジ日時 | 2026-10-14 00:26:15 |
| 合計ジャッジ時間 | 2,791 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 21 |
ソースコード
n = int(input())
cnt = 0
c = 2
while c * c <= n:
if n % c == 0:
while n % c == 0:
n //= c
cnt += 1
c += 1
if n > 1:
cnt += 1
print("Yes" if cnt <= 2 else "No")