結果
| 問題 |
No.85 TVザッピング(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-06 16:53:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 29 ms / 5,000 ms |
| コード長 | 150 bytes |
| コンパイル時間 | 145 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-07-06 13:10:57 |
| 合計ジャッジ時間 | 2,020 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
N, M, C = map(int, input().split())
if N > M:
N, M = M, N
yes = (N == 1 and M == 2) or (N != 1 and N * M % 2 == 0)
print('YES' if yes else 'NO')