結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー 22252
提出日時 2025-02-15 17:43:32
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 235 bytes
コンパイル時間 539 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 11,520 KB
最終ジャッジ日時 2025-02-15 17:43:35
合計ジャッジ時間 2,975 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    N = int(input())
    M = int(input())
    if N % 2 == 0 and M % 2 == 0:
        print("Yes")
    elif N % 2 == 1 and M % 10 == 0:
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    main()
0