結果
問題 |
No.795 Restrictions!!!!!!!!!!!!!!
|
ユーザー |
|
提出日時 | 2023-09-06 11:08:00 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 2,000 ms |
コード長 | 210 bytes |
コンパイル時間 | 87 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-06-24 05:44:29 |
合計ジャッジ時間 | 1,500 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
N = int(input().strip()[-1]) M = int(input().strip()[-1]) total = 100*N + 10*M if N % 2 == 0 and M % 2 == 0: print("Yes") elif M % 10 == 0: if total % 2 == 0: print("Yes") else: print("No")