結果
問題 | No.795 Restrictions!!!!!!!!!!!!!! |
ユーザー |
|
提出日時 | 2023-09-08 18:56:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 334 bytes |
コンパイル時間 | 342 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-26 11:50:24 |
合計ジャッジ時間 | 1,839 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 20 |
ソースコード
N_str = input()M_str = input()if len(N_str) > 1000 or len(M_str) > 1000:print("Please enter numbers with less than 1001 digits.")exit()N = int(N_str)M = int(M_str)total = 100*N + 10*Mif N % 2 == 0 and M % 2 == 0:print("Yes")elif M % 10 == 0:if total % 2 == 0:print("Yes")else:print("No")