結果

問題 No.85 TVザッピング(1)
ユーザー rin204
提出日時 2022-01-20 10:26:06
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 184 bytes
コンパイル時間 193 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-11-23 14:27:50
合計ジャッジ時間 2,615 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m, c = map(int, input().split())
if n == 1 or m == 1:
    if n * m == 2:
        print("YES")
    else:
        print("NO")
if n * m % 2 == 1:
    print("NO")
else:
    print("YES")
0