結果

問題 No.85 TVザッピング(1)
ユーザー 学ぶマン
提出日時 2025-09-25 09:33:31
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 174 bytes
コンパイル時間 4,196 ms
コンパイル使用メモリ 81,780 KB
実行使用メモリ 53,772 KB
最終ジャッジ日時 2025-09-25 09:33:38
合計ジャッジ時間 3,856 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if N == 1 or M == 1:
    exit(print('NO'))

#N, M いずれか偶数ならOK
if (N*M)%2 == 0:
    print('YES')
else:
    print('NO')
    
0