結果
| 問題 | No.795 Restrictions!!!!!!!!!!!!!! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-08 18:57:48 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 114 ms / 2,000 ms |
| コード長 | 231 bytes |
| 記録 | |
| コンパイル時間 | 409 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 15,708 KB |
| 最終ジャッジ日時 | 2026-03-13 04:57:05 |
| 合計ジャッジ時間 | 3,591 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")