結果

問題 No.36 素数が嫌い!
ユーザー n_knuun_knuu
提出日時 2015-05-23 00:37:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 311 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 87,168 KB
実行使用メモリ 75,932 KB
最終ジャッジ日時 2023-09-20 10:18:50
合計ジャッジ時間 5,422 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 141 ms
75,756 KB
testcase_01 AC 185 ms
75,736 KB
testcase_02 AC 73 ms
71,540 KB
testcase_03 AC 73 ms
71,952 KB
testcase_04 AC 72 ms
71,696 KB
testcase_05 AC 74 ms
75,824 KB
testcase_06 AC 72 ms
75,584 KB
testcase_07 AC 74 ms
75,928 KB
testcase_08 AC 75 ms
75,824 KB
testcase_09 AC 75 ms
75,832 KB
testcase_10 AC 73 ms
75,828 KB
testcase_11 AC 121 ms
75,768 KB
testcase_12 AC 214 ms
75,792 KB
testcase_13 AC 216 ms
75,812 KB
testcase_14 WA -
testcase_15 AC 73 ms
71,612 KB
testcase_16 AC 70 ms
71,832 KB
testcase_17 AC 71 ms
71,428 KB
testcase_18 AC 73 ms
75,880 KB
testcase_19 AC 128 ms
75,824 KB
testcase_20 AC 218 ms
75,760 KB
testcase_21 AC 186 ms
75,760 KB
testcase_22 AC 189 ms
75,900 KB
testcase_23 AC 142 ms
75,912 KB
testcase_24 AC 150 ms
75,604 KB
testcase_25 AC 148 ms
75,868 KB
testcase_26 AC 160 ms
75,856 KB
testcase_27 AC 195 ms
75,764 KB
testcase_28 AC 158 ms
75,800 KB
testcase_29 AC 213 ms
75,932 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def divisorsList(n):
    divsList = []
    for i in range(1, int(pow(n, 0.5))+1):
        if n % i == 0:
            divsList.append(i)
            if n // i != i:
                divsList.append(n//i)
    return sorted(divsList)
    
N = int(input())
d = divisorsList(N)

print('YES' if len(d) >= 5 else 'NO')
0