結果
| 問題 | No.8114 Prime Checker+1 |
| ユーザー |
testestest
|
| 提出日時 | 2025-04-29 02:25:10 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 369 ms |
| コンパイル使用メモリ | 96,064 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-07-10 09:28:52 |
| 合計ジャッジ時間 | 4,055 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 28 WA * 2 |
ソースコード
import sys
sys.set_int_max_str_digits(0)
def isprime(N):
if N!=2 and N%2==0: return False
if N!=3 and N%3==0: return False
return True
N=int(input())
print("0", "Yes" if isprime(N) else "No", sep="\n")
testestest