結果

問題 No.85 TVザッピング(1)
ユーザー 👑 KazunKazun
提出日時 2020-11-16 17:03:08
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 169 bytes
コンパイル時間 243 ms
コンパイル使用メモリ 87,060 KB
実行使用メモリ 71,540 KB
最終ジャッジ日時 2023-09-30 07:19:55
合計ジャッジ時間 3,246 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,268 KB
testcase_01 AC 59 ms
71,112 KB
testcase_02 AC 60 ms
71,108 KB
testcase_03 AC 62 ms
71,112 KB
testcase_04 AC 59 ms
71,404 KB
testcase_05 AC 64 ms
71,280 KB
testcase_06 AC 66 ms
71,280 KB
testcase_07 AC 64 ms
71,480 KB
testcase_08 AC 65 ms
71,380 KB
testcase_09 AC 63 ms
71,320 KB
testcase_10 AC 60 ms
71,316 KB
testcase_11 AC 64 ms
71,424 KB
testcase_12 AC 61 ms
71,212 KB
testcase_13 AC 60 ms
71,188 KB
testcase_14 AC 63 ms
71,348 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 64 ms
71,480 KB
testcase_18 WA -
testcase_19 AC 60 ms
71,428 KB
testcase_20 AC 61 ms
71,540 KB
testcase_21 AC 62 ms
71,428 KB
testcase_22 AC 62 ms
71,220 KB
testcase_23 AC 60 ms
71,352 KB
testcase_24 AC 66 ms
71,400 KB
testcase_25 AC 61 ms
71,152 KB
testcase_26 AC 63 ms
71,328 KB
testcase_27 AC 64 ms
71,216 KB
testcase_28 AC 63 ms
71,184 KB
testcase_29 AC 63 ms
71,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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