結果
| 問題 | No.85 TVザッピング(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-14 18:31:36 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 5,000 ms |
| コード長 | 296 bytes |
| 記録 | |
| コンパイル時間 | 154 ms |
| コンパイル使用メモリ | 85,752 KB |
| 実行使用メモリ | 53,616 KB |
| 最終ジャッジ日時 | 2026-03-13 05:44:39 |
| 合計ジャッジ時間 | 1,688 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
#int(input())
#map(int, input().split())
#list(map(int, input().split()))
N, M, C = map(int, input().split())
if min(N, M) == 1:
if max(N, M) == 2:
print("YES")
else:
print("NO")
else:
if (N % 2) * (M % 2) == 1:
print("NO")
else:
print("YES")