結果

問題 No.85 TVザッピング(1)
ユーザー lllllll88938494
提出日時 2022-03-14 05:03:19
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-09-19 14:22:35
合計ジャッジ時間 1,723 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 24 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m,c=map(int,input().split())

if n == 1 or m == 1:
    if c==1 or c== n*m:
        print('YES')
    else:
        print('NO')
    exit()
    
if (n*m)%2==0:
    print('YES')
else:
    print('NO')
0