結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー キョウチク
提出日時 2019-04-09 17:28:41
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 296 bytes
コンパイル時間 605 ms
コンパイル使用メモリ 55,332 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-04 03:11:02
合計ジャッジ時間 1,222 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
using namespace std;
int main() {
	int N;
	long M;
	cin >> N >> M;
	if (M % 2 == 1) {
		cout << "No" << endl;
	}
	else if (N % 2 == 1) {
		if (M / 10 == 0) {
			cout << "No" << endl;
		}
		else {
			cout << "Yes" << endl;
		}
	}
	else {
		cout << "Yes" << endl;
	}
	return 0;
}
0