結果

問題 No.85 TVザッピング(1)
ユーザー roiti46
提出日時 2015-02-12 01:15:05
言語 Python2
(2.7.18)
結果
AC  
実行時間 14 ms / 5,000 ms
コード長 135 bytes
コンパイル時間 263 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-04 17:20:10
合計ジャッジ時間 1,580 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

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