ENG
RUS
Timus 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
Moein Fatehi
To Author: I got AC, But my solution doesn't work correctly for m=1 !!
[1] // Problem
1224. Spiral
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
Sandro (USU)
Re: To Author: I got AC, But my solution doesn't work correctly for m=1 !!
// Problem
1224. Spiral
22 Sep 2011 20:09
You are wrong. Answer for m = 1, n > 1 is 1. The robot makes turn in the first cell.
© 2000–2026
Timus Online Judge Team
. All rights reserved.