結果

問題 No.85 TVザッピング(1)
ユーザー たこし
提出日時 2014-12-06 22:31:56
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 820 bytes
コンパイル時間 719 ms
コンパイル使用メモリ 88,984 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-11 15:49:55
合計ジャッジ時間 1,559 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <string>
#include <cstring>
#include <ctime>
#include <fstream>
#include <queue>
#include <complex>

#define INF 100000000
#define EPS 1e-9

using namespace std;

typedef long long ll;
typedef complex<double> P;

int N, M, C;

int main(){

	cin >> N >> M >> C;

	if (N >= 2 && M >= 2){

		if (N % 2 == 1 && M % 2 == 1)
			cout << "NO" << endl;
		else
			cout << "YES" << endl;

	}

	else{
		cout << "NO" << endl;
	}

	return 0;

}
0