10849 - Move the bishop


Difficulty : trivial

Solution Description :

Ad hoc (Chess game) problem

In this problem answer can be 0, 1, 2, and "no move"

Input x1, y1, x2, y2

If x1=x2 and y1=y2 
    then print 0
else If x1+y1 is even and x2+y2 is odd or vies versa 
    then print "no move"
else if (some condition here) this work for you
    then print "1"
else 
    then print "2"