結果

問題 No.36 素数が嫌い!
ユーザー motor_radialmotor_radial
提出日時 2020-03-18 10:05:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 176 bytes
コンパイル時間 229 ms
コンパイル使用メモリ 10,636 KB
実行使用メモリ 8,448 KB
最終ジャッジ日時 2023-08-20 19:43:52
合計ジャッジ時間 7,873 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
8,272 KB
testcase_01 AC 17 ms
8,396 KB
testcase_02 AC 16 ms
7,784 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 22 ms
7,756 KB
testcase_08 AC 15 ms
8,348 KB
testcase_09 AC 16 ms
8,280 KB
testcase_10 AC 15 ms
8,308 KB
testcase_11 AC 701 ms
7,904 KB
testcase_12 AC 2,157 ms
7,864 KB
testcase_13 WA -
testcase_14 AC 23 ms
8,360 KB
testcase_15 AC 15 ms
8,220 KB
testcase_16 AC 15 ms
7,876 KB
testcase_17 AC 15 ms
7,904 KB
testcase_18 AC 15 ms
8,352 KB
testcase_19 AC 15 ms
8,236 KB
testcase_20 AC 16 ms
8,404 KB
testcase_21 AC 15 ms
8,352 KB
testcase_22 AC 16 ms
8,380 KB
testcase_23 AC 16 ms
8,280 KB
testcase_24 AC 15 ms
8,280 KB
testcase_25 AC 15 ms
8,240 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
sosu=set()
for i in range(1,int(N**0.5)+1):
    if N%i==0:
        sosu.add(i)
        sosu.add(N//i)
    if len(sosu)>2:
        print("YES");exit()
print("NO")
0