Skip to content

Instantly share code, notes, and snippets.

@adamvr
Created April 10, 2012 05:12
Show Gist options
  • Select an option

  • Save adamvr/2348449 to your computer and use it in GitHub Desktop.

Select an option

Save adamvr/2348449 to your computer and use it in GitHub Desktop.
0340 int moves[4][2] = {{-1, 1}, {0, 1}, {1, 0}, {1, 1}};
[BRACES] Closing brace should appear as the first symbol on the next line.
0341 i = ((turnCount+1)%2)+1;
[BRACES] Closing brace should appear as the first symbol on the next line.
0342 j = k = m = n = 0;
[BRACES] Closing brace should appear as the first symbol on the next line.
0343 while(n<4) {
[BRACES] Closing brace should appear as the first symbol on the next line.
0344 int cnt[] = {0, 0};
[BRACES] Closing brace should appear as the first symbol on the next line.
0345 k = moves[n][0];
[BRACES] Closing brace should appear as the first symbol on the next line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment