Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. while (cur_length > l)
  2. {
  3. cur_length -= l;
  4. }
  5.  
  6. int count = cur_length / length + 1;
  7.  
  8. if (count > l)
  9. {
  10. count = l - count;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement