結果
| 問題 | 
                            No.795 Restrictions!!!!!!!!!!!!!!
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2023-09-08 18:57:48 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 51 ms / 2,000 ms | 
| コード長 | 231 bytes | 
| コンパイル時間 | 429 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 12,160 KB | 
| 最終ジャッジ日時 | 2024-06-26 11:52:51 | 
| 合計ジャッジ時間 | 2,324 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 20 | 
ソースコード
import sys
sys.set_int_max_str_digits(51000)
N = int(input())
M = int(input())
total = 10*N + M
if N % 2 == 0 and M % 2 == 0:
    print("Yes")
elif M % 10 == 0:
    if total % 2 == 0:
        print("Yes")
else:
    print("No")