China round B
China 2014 round b, C, got that pesky edge condition
china-2014 round b, problem D... x,y != y,x