Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (cur_length > l)
- {
- cur_length -= l;
- }
- int count = cur_length / length + 1;
- if (count > l)
- {
- count = l - count;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement