結果
| 問題 | No.85 TVザッピング(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-15 20:03:45 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 5,000 ms |
| コード長 | 142 bytes |
| 記録 | |
| コンパイル時間 | 316 ms |
| コンパイル使用メモリ | 85,760 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2026-04-06 02:56:22 |
| 合計ジャッジ時間 | 1,920 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
N, M, C = map(int, input().split())
if min(N, M) == 1: print("YES" if max(N, M) == 2 else "NO")
else: print("YES" if N * M % 2 == 0 else "NO")