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 1224. Spiral

To Author: I got AC, But my solution doesn't work correctly for m=1 !!
Posted by Moein Fatehi 22 Sep 2011 18:11
when m=1, the answer must be 0, but my AC submission's answer is 1!!

Edited by author 22.09.2011 18:12
Re: To Author: I got AC, But my solution doesn't work correctly for m=1 !!
Posted by Sandro (USU) 22 Sep 2011 20:09
You are wrong. Answer for m = 1, n > 1 is 1. The robot makes turn in the first cell.