結果

問題 No.85 TVザッピング(1)
ユーザー roiti46
提出日時 2015-02-12 01:10:30
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 144 bytes
コンパイル時間 112 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-23 19:02:19
合計ジャッジ時間 1,518 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M,C = map(int,raw_input().split())
if N == 1 and M == 1: print "YES"
elif min(N,M) == 1: print "NO"
else: print "YES" if N*M%2 == 0 else "NO"
0