結果

問題 No.85 TVザッピング(1)
ユーザー SSRS
提出日時 2020-09-03 06:55:32
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 193 bytes
コンパイル時間 492 ms
コンパイル使用メモリ 66,412 KB
最終ジャッジ日時 2025-01-14 04:01:58
ジャッジサーバーID
(参考情報)
judge4 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
	int N, M, C;
	cin >> N >> M >> C;
	if (N == 1 || M == 1 || N * M % 2 == 1){
		cout << "NO" << endl;
	} else {
		cout << "YES" << endl;
	}
}
0