結果
| 問題 |
No.36 素数が嫌い!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-11-20 21:15:03 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 147 bytes |
| コンパイル時間 | 573 ms |
| コンパイル使用メモリ | 82,136 KB |
| 実行使用メモリ | 59,404 KB |
| 最終ジャッジ日時 | 2024-06-12 00:30:04 |
| 合計ジャッジ時間 | 3,119 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 17 WA * 9 |
ソースコード
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")