結果
問題 |
No.8114 Prime Checker+1
|
ユーザー |
👑 ![]() |
提出日時 | 2025-04-29 02:25:10 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 206 bytes |
コンパイル時間 | 319 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 71,584 KB |
最終ジャッジ日時 | 2025-04-29 02:25:14 |
合計ジャッジ時間 | 3,790 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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")