結果

問題 No.85 TVザッピング(1)
ユーザー convexineqconvexineq
提出日時 2020-12-04 01:23:06
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 74 ms / 5,000 ms
コード長 139 bytes
コンパイル時間 431 ms
コンパイル使用メモリ 86,924 KB
実行使用メモリ 71,584 KB
最終ジャッジ日時 2023-10-12 12:33:46
合計ジャッジ時間 4,775 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,324 KB
testcase_01 AC 69 ms
71,348 KB
testcase_02 AC 74 ms
71,468 KB
testcase_03 AC 69 ms
71,348 KB
testcase_04 AC 68 ms
71,136 KB
testcase_05 AC 68 ms
71,184 KB
testcase_06 AC 67 ms
70,968 KB
testcase_07 AC 68 ms
71,412 KB
testcase_08 AC 70 ms
71,152 KB
testcase_09 AC 71 ms
71,356 KB
testcase_10 AC 68 ms
71,444 KB
testcase_11 AC 66 ms
71,584 KB
testcase_12 AC 67 ms
71,372 KB
testcase_13 AC 68 ms
71,240 KB
testcase_14 AC 71 ms
71,144 KB
testcase_15 AC 70 ms
71,368 KB
testcase_16 AC 69 ms
70,968 KB
testcase_17 AC 70 ms
71,204 KB
testcase_18 AC 71 ms
71,452 KB
testcase_19 AC 69 ms
71,500 KB
testcase_20 AC 70 ms
71,364 KB
testcase_21 AC 70 ms
71,284 KB
testcase_22 AC 67 ms
71,140 KB
testcase_23 AC 69 ms
71,296 KB
testcase_24 AC 69 ms
71,460 KB
testcase_25 AC 69 ms
71,304 KB
testcase_26 AC 69 ms
71,156 KB
testcase_27 AC 67 ms
71,348 KB
testcase_28 AC 69 ms
71,464 KB
testcase_29 AC 70 ms
71,156 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m,c = map(int,input().split())
if n>m: n,m = m,n
ok = 1
if n*m%2: ok = 0
else:
    if n==1 and m > 2: ok = 0
print("YES" if ok else "NO")
0