ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1051. Simple Game on a Grid

I dont know why!!!
Posted by visit.er 7 Sep 2007 19:24
It's easy to understand
if (n mod 3=0) or (m mod 3=0) then answer=2
But why are the answers to the rest of datas are all 1????
Can someone tell me???