2010-11-07から1日間の記事一覧
Find Color x,y = map(int,raw_input().split()) r = int((x*x+y*y)**0.5) print "black" if x*x+y*y==r*r or (r+(x>0)+(y>0))%2==0 else "white"
Find Color x,y = map(int,raw_input().split()) r = int((x*x+y*y)**0.5) print "black" if x*x+y*y==r*r or (r+(x>0)+(y>0))%2==0 else "white"