結果

問題 No.8114 Prime Checker+1
ユーザー cleantted
提出日時 2025-02-21 16:24:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 103 bytes
コンパイル時間 262 ms
コンパイル使用メモリ 82,452 KB
実行使用メモリ 53,824 KB
最終ジャッジ日時 2025-02-21 16:24:47
合計ジャッジ時間 2,689 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input().strip()

if S == "2":
  print(0)
  print("Yes")
else:
  print(int(S[-1]) % 2)
  print("No")
0