結果

問題 No.36 素数が嫌い!
ユーザー ABKZABKZ
提出日時 2021-11-20 21:15:03
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 147 bytes
コンパイル時間 495 ms
コンパイル使用メモリ 86,836 KB
実行使用メモリ 76,000 KB
最終ジャッジ日時 2023-09-02 18:02:52
合計ジャッジ時間 4,508 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,220 KB
testcase_01 AC 73 ms
71,304 KB
testcase_02 AC 74 ms
71,316 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 76 ms
75,640 KB
testcase_08 AC 74 ms
71,364 KB
testcase_09 AC 73 ms
71,300 KB
testcase_10 AC 76 ms
71,216 KB
testcase_11 AC 117 ms
75,768 KB
testcase_12 AC 206 ms
75,532 KB
testcase_13 WA -
testcase_14 AC 75 ms
75,528 KB
testcase_15 AC 74 ms
71,172 KB
testcase_16 AC 74 ms
71,304 KB
testcase_17 AC 73 ms
71,112 KB
testcase_18 AC 74 ms
71,364 KB
testcase_19 AC 74 ms
71,444 KB
testcase_20 AC 72 ms
71,280 KB
testcase_21 AC 70 ms
71,380 KB
testcase_22 AC 73 ms
71,452 KB
testcase_23 AC 73 ms
70,956 KB
testcase_24 AC 75 ms
70,976 KB
testcase_25 AC 73 ms
71,180 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

N = int(input())

for x in range(2, int(math.sqrt(N))+1):
    if N % x == 0:
        print("YES")
        break
else:
    print("NO")
0