結果

問題 No.85 TVザッピング(1)
ユーザー 👑 Kazun
提出日時 2020-11-16 17:03:08
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 169 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 82,344 KB
実行使用メモリ 54,292 KB
最終ジャッジ日時 2024-07-23 01:34:41
合計ジャッジ時間 2,290 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 24 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M,C=map(int,input().split())
N,M==min(N,M),max(N,M)

if N==1 and M==2:
    print("YES")
elif N==1:
    print("NO")
elif (N*M)%2:
    print("NO")
else:
    print("YES")
0