You are viewing a single comment's thread. Return to all comments →
C#
var jumps = 0; for(int i=0; i<n-1; i++, jumps++) if (i+2 < n && c[i+2] == 0) i++; Console.WriteLine(jumps);
Jumping on the Clouds
You are viewing a single comment's thread. Return to all comments →
C#