結果
| 問題 |
No.85 TVザッピング(1)
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2020-12-04 01:23:06 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 5,000 ms |
| コード長 | 139 bytes |
| コンパイル時間 | 548 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2024-09-14 11:30:26 |
| 合計ジャッジ時間 | 2,777 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
n,m,c = map(int,input().split())
if n>m: n,m = m,n
ok = 1
if n*m%2: ok = 0
else:
if n==1 and m > 2: ok = 0
print("YES" if ok else "NO")
convexineq