結果

問題 No.85 TVザッピング(1)
ユーザー 👑 KazunKazun
提出日時 2020-11-16 17:04:24
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 66 ms / 5,000 ms
コード長 150 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 86,940 KB
実行使用メモリ 71,540 KB
最終ジャッジ日時 2023-09-30 07:19:59
合計ジャッジ時間 3,262 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,240 KB
testcase_01 AC 62 ms
71,284 KB
testcase_02 AC 61 ms
71,216 KB
testcase_03 AC 60 ms
71,396 KB
testcase_04 AC 62 ms
71,108 KB
testcase_05 AC 61 ms
71,420 KB
testcase_06 AC 61 ms
71,220 KB
testcase_07 AC 60 ms
71,480 KB
testcase_08 AC 62 ms
71,352 KB
testcase_09 AC 60 ms
71,216 KB
testcase_10 AC 60 ms
71,372 KB
testcase_11 AC 62 ms
71,400 KB
testcase_12 AC 66 ms
71,352 KB
testcase_13 AC 62 ms
71,312 KB
testcase_14 AC 62 ms
71,188 KB
testcase_15 AC 62 ms
71,464 KB
testcase_16 AC 62 ms
71,188 KB
testcase_17 AC 65 ms
71,428 KB
testcase_18 AC 61 ms
71,348 KB
testcase_19 AC 62 ms
71,188 KB
testcase_20 AC 62 ms
71,540 KB
testcase_21 AC 62 ms
71,304 KB
testcase_22 AC 64 ms
71,380 KB
testcase_23 AC 64 ms
71,032 KB
testcase_24 AC 62 ms
71,312 KB
testcase_25 AC 64 ms
71,300 KB
testcase_26 AC 63 ms
71,060 KB
testcase_27 AC 61 ms
71,328 KB
testcase_28 AC 63 ms
71,452 KB
testcase_29 AC 65 ms
71,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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