結果

問題 No.85 TVザッピング(1)
ユーザー ytftytft
提出日時 2022-11-08 10:17:57
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 79 ms / 5,000 ms
コード長 134 bytes
コンパイル時間 420 ms
コンパイル使用メモリ 87,012 KB
実行使用メモリ 71,552 KB
最終ジャッジ日時 2023-09-28 21:48:11
合計ジャッジ時間 4,077 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
71,284 KB
testcase_01 AC 77 ms
71,412 KB
testcase_02 AC 77 ms
71,272 KB
testcase_03 AC 75 ms
71,320 KB
testcase_04 AC 78 ms
71,208 KB
testcase_05 AC 77 ms
71,220 KB
testcase_06 AC 76 ms
71,264 KB
testcase_07 AC 77 ms
71,252 KB
testcase_08 AC 76 ms
71,524 KB
testcase_09 AC 75 ms
71,020 KB
testcase_10 AC 76 ms
71,452 KB
testcase_11 AC 74 ms
71,176 KB
testcase_12 AC 75 ms
71,264 KB
testcase_13 AC 76 ms
71,180 KB
testcase_14 AC 75 ms
71,276 KB
testcase_15 AC 75 ms
71,192 KB
testcase_16 AC 76 ms
71,540 KB
testcase_17 AC 74 ms
71,024 KB
testcase_18 AC 76 ms
71,184 KB
testcase_19 AC 75 ms
71,252 KB
testcase_20 AC 75 ms
71,360 KB
testcase_21 AC 76 ms
71,240 KB
testcase_22 AC 76 ms
71,316 KB
testcase_23 AC 77 ms
71,268 KB
testcase_24 AC 76 ms
71,164 KB
testcase_25 AC 77 ms
71,280 KB
testcase_26 AC 77 ms
71,180 KB
testcase_27 AC 78 ms
71,552 KB
testcase_28 AC 74 ms
71,184 KB
testcase_29 AC 75 ms
71,428 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda:sys.stdin.readline().rstrip()
H,W,N=map(int,input().split())
print(['YES','NO'][(H*W%2)|(1 in [H,W])&(H+W>3)])
0