結果

問題 No.36 素数が嫌い!
ユーザー rlangevinrlangevin
提出日時 2023-01-14 16:08:24
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 185 bytes
コンパイル時間 296 ms
コンパイル使用メモリ 87,228 KB
実行使用メモリ 75,952 KB
最終ジャッジ日時 2023-08-26 22:05:14
合計ジャッジ時間 5,185 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,228 KB
testcase_01 AC 78 ms
75,752 KB
testcase_02 AC 75 ms
71,388 KB
testcase_03 AC 71 ms
71,268 KB
testcase_04 AC 71 ms
71,588 KB
testcase_05 AC 75 ms
75,888 KB
testcase_06 AC 76 ms
75,780 KB
testcase_07 AC 77 ms
75,952 KB
testcase_08 AC 75 ms
71,348 KB
testcase_09 AC 70 ms
71,384 KB
testcase_10 AC 70 ms
71,576 KB
testcase_11 AC 122 ms
75,908 KB
testcase_12 AC 213 ms
75,712 KB
testcase_13 AC 210 ms
75,760 KB
testcase_14 WA -
testcase_15 AC 74 ms
71,372 KB
testcase_16 AC 73 ms
71,304 KB
testcase_17 AC 71 ms
71,228 KB
testcase_18 AC 71 ms
71,228 KB
testcase_19 AC 74 ms
71,352 KB
testcase_20 AC 80 ms
75,572 KB
testcase_21 AC 71 ms
71,140 KB
testcase_22 AC 71 ms
71,264 KB
testcase_23 AC 73 ms
71,232 KB
testcase_24 AC 94 ms
75,872 KB
testcase_25 AC 71 ms
71,452 KB
testcase_26 AC 157 ms
75,860 KB
testcase_27 AC 190 ms
75,856 KB
testcase_28 AC 159 ms
75,860 KB
testcase_29 AC 205 ms
75,828 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
i = 1
S = set()
while i * i <= N:
    if N % i == 0:
        S.add(i)
        S.add(N//i)
    if len(S) >= 5:
        print("YES")
        exit()
    i += 1
print("NO")
0