DeukausGames

Xadrez OBI

Aug 22nd, 2018
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. # Xadrez
  2. # obi 2018
  3. # Nivel 1 f1
  4. # by Deukaus / Matheus Santos
  5. # https://olimpiada.ic.unicamp.br/pratique/p1/2018/f1/xadrez/
  6. L = int(input())
  7. C = int(input())
  8. if (L + C) % 2 == 0:
  9.     print(1)
  10. else:
  11.     print(0)
Advertisement
Add Comment
Please, Sign In to add comment