結果

問題 No.85 TVザッピング(1)
ユーザー ntuda
提出日時 2024-01-05 23:30:02
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 255 bytes
コンパイル時間 327 ms
コンパイル使用メモリ 82,364 KB
実行使用メモリ 54,420 KB
最終ジャッジ日時 2024-09-27 19:11:05
合計ジャッジ時間 2,273 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 8 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M,C = map(int,input().split())
def prt(x):
    if x == 0:
        print("NO")
        exit()
    else:
        print("Yes")
        exit()

if N == 1:
    if M == 1:
        prt(1)
    else:
        prt(0)
if N % 2 == 0 or M % 2 == 0:
    prt(1)
prt(0)
0