結果

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

ソースコード

diff #

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

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