結果
| 問題 |
No.8023 素数判定するだけ
|
| コンテスト | |
| ユーザー |
aaaaa
|
| 提出日時 | 2017-04-03 00:47:58 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 28 ms / 1,000 ms |
| コード長 | 142 bytes |
| コンパイル時間 | 93 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-04 20:20:15 |
| 合計ジャッジ時間 | 3,717 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
from math import e
n=int(input())
if n<int(e):print('NO');exit()
for i in range(int(e),n):
if not n%i:print('NO');exit()
else:print('YES')
aaaaa