結果

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

ソースコード

diff #

N=int(input())
M=int(input())

if N%2==0 and M%2==0:
    print("Yes")
    exit()
if N%2==0 and M%2==1:
    print("No")
    exit()
if N%2==1:
    if M>=10 and  M%2==0:
        print("Yes")
    else:
        print("No")
    exit()
0