結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー iNoma87976671
提出日時 2019-03-17 20:58:03
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 177 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-07 18:59:29
合計ジャッジ時間 1,646 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
M = int(input())
ans = ""
if (N % 2 == 0) and (M % 2 ==0):
    ans = "Yes"
elif (10*M - N)%2 == 0 and  N %2 ==0 :
    ans = "Yes"
else:
    ans ="No"
print(ans)
0