結果

問題 No.36 素数が嫌い!
ユーザー netyo715netyo715
提出日時 2021-07-15 13:57:19
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 7,940 KB
最終ジャッジ日時 2023-09-17 19:53:49
合計ジャッジ時間 17,909 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 904 ms
7,708 KB
testcase_02 AC 16 ms
7,748 KB
testcase_03 AC 15 ms
7,680 KB
testcase_04 AC 16 ms
7,856 KB
testcase_05 AC 19 ms
7,704 KB
testcase_06 AC 20 ms
7,788 KB
testcase_07 AC 20 ms
7,748 KB
testcase_08 AC 16 ms
7,848 KB
testcase_09 AC 18 ms
7,708 KB
testcase_10 WA -
testcase_11 AC 446 ms
7,724 KB
testcase_12 AC 1,340 ms
7,836 KB
testcase_13 AC 1,391 ms
7,680 KB
testcase_14 AC 659 ms
7,736 KB
testcase_15 AC 15 ms
7,848 KB
testcase_16 AC 16 ms
7,672 KB
testcase_17 AC 15 ms
7,732 KB
testcase_18 AC 16 ms
7,848 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 606 ms
7,824 KB
testcase_25 WA -
testcase_26 AC 824 ms
7,712 KB
testcase_27 AC 1,146 ms
7,788 KB
testcase_28 AC 808 ms
7,808 KB
testcase_29 AC 1,303 ms
7,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ans = 0
for i in range(2, int(N**0.5)+1):
    while N%i==0:
        N //= i
        ans += 1
if ans >= 3:
    print("YES")
else:
    print("NO")
0