結果
問題 | No.8023 素数判定するだけ |
ユーザー |
![]() |
提出日時 | 2017-03-31 23:35:30 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 1,000 ms |
コード長 | 162 bytes |
コンパイル時間 | 95 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-04 20:11:02 |
合計ジャッジ時間 | 4,959 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
import math n=int(input()) for i in range(n): if i<int(math.e):continue if n%i:pass else: print("NO") exit() if n<int(math.e):print("NO") else:print("YES")