Alien Spiral

hey can anybody explain the logic behind this http://www.codechef.com/INSOM1/problems/INSOMA1 question?

1 Like

hey guys plz help!!!

And where is the problem? This one is really easy, just implement what are you asked for…

alt text

//