結果

問題 No.2379 Burnside's Theorem
ユーザー ニックネームニックネーム
提出日時 2023-07-14 21:22:40
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 131 bytes
コンパイル時間 216 ms
コンパイル使用メモリ 10,692 KB
実行使用メモリ 7,956 KB
最終ジャッジ日時 2023-10-14 11:17:33
合計ジャッジ時間 2,463 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,876 KB
testcase_01 AC 16 ms
7,804 KB
testcase_02 AC 16 ms
7,780 KB
testcase_03 AC 53 ms
7,816 KB
testcase_04 AC 18 ms
7,760 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 21 ms
7,904 KB
testcase_09 WA -
testcase_10 AC 17 ms
7,792 KB
testcase_11 AC 19 ms
7,816 KB
testcase_12 AC 20 ms
7,816 KB
testcase_13 AC 84 ms
7,776 KB
testcase_14 AC 115 ms
7,852 KB
testcase_15 AC 137 ms
7,820 KB
testcase_16 AC 29 ms
7,816 KB
testcase_17 AC 21 ms
7,800 KB
testcase_18 AC 138 ms
7,764 KB
testcase_19 AC 54 ms
7,808 KB
testcase_20 AC 90 ms
7,796 KB
testcase_21 AC 122 ms
7,764 KB
testcase_22 AC 15 ms
7,872 KB
testcase_23 AC 123 ms
7,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
s = set()
for i in range(2,int(n**0.5)+1):
    while n%i==0: n //= i; s.add(i)
print("Yes" if len(s)<=2 else "No")
0