Advertisement
Kyojin96

Block Scheme

Nov 23rd, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. /*
  2.     IMPORTANT:
  3.         Code will never compile due to never defined
  4.         variables. This is only the code block from
  5.         the algorithm.
  6.  */
  7.  
  8. while(n)
  9. {
  10.     if(m%3)
  11.         t++;
  12.  
  13.     m = d[p];
  14.  
  15.     if(m%2)
  16.     {
  17.         p++;
  18.     } else
  19.     {
  20.         p += 2;
  21.     }
  22.  
  23.     d[p] = m;
  24. }
  25. p = 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement