結果

問題 No.8114 Prime Checker+1
ユーザー testestest
提出日時 2025-04-29 02:25:10
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
WA  
実行時間 -
コード長 206 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 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
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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")
0