結果

問題 No.240 ナイト散歩
コンテスト
ユーザー tjake
提出日時 2015-12-20 13:50:39
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 157 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 149 ms
コンパイル使用メモリ 77,744 KB
最終ジャッジ日時 2025-12-03 18:47:24
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

x, y = map(lambda x:abs(int(x)), raw_input().split())
print "YES"*((max(x, y)<5 and (x!=y or x%2 or x<1)) or (4<max(x, y)<7 and (x+y)<10 and (x+y)%2))or"NO"
0