結果
| 問題 | No.85 TVザッピング(1) |
| コンテスト | |
| ユーザー |
tnoda_
|
| 提出日時 | 2015-08-08 15:26:59 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 80 ms / 5,000 ms |
| コード長 | 154 bytes |
| 記録 | |
| コンパイル時間 | 130 ms |
| コンパイル使用メモリ | 77,248 KB |
| 最終ジャッジ日時 | 2025-12-03 16:09:32 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
N, M, C = map(int, raw_input().strip().split())
if N == 1 and M > 2 or M == 1 and N > 2 or (N % 2) * (M % 2) > 0:
print('NO')
quit()
print('YES')
tnoda_