You are viewing a single comment's thread. Return to all comments →
C# SOLUTION
if (n == 1) return 1; if (m == 1) return 2;
return (n%2==0) ? 2 : 1;
Seems like cookies are disabled on this browser, please enable them to open this website
Tower Breakers
You are viewing a single comment's thread. Return to all comments →
C# SOLUTION
if (n == 1) return 1; if (m == 1) return 2;