結果
| 問題 |
No.85 TVザッピング(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-11-16 19:49:25 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 11 ms / 5,000 ms |
| コード長 | 124 bytes |
| コンパイル時間 | 273 ms |
| コンパイル使用メモリ | 6,784 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2024-10-04 18:04:13 |
| 合計ジャッジ時間 | 1,111 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
N, M, C = map(int, raw_input().split()) N, M = sorted([N, M]) print 'NO' if (N==1 and M>2) or(N%2==1 and M%2==1) else 'YES'