結果
| 問題 |
No.8023 素数判定するだけ
|
| コンテスト | |
| ユーザー |
syosinnsya8
|
| 提出日時 | 2020-04-01 22:59:47 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 200 bytes |
| コンパイル時間 | 85 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-06-27 12:25:34 |
| 合計ジャッジ時間 | 5,183 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 25 |
ソースコード
import math
n=int(input())
for i in range(2,math.sqrt(n)+1):
if n==1:
print('No')
break
else:
if n%i==0:
print('No')
else:
print('Yes')
syosinnsya8