Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. int count = 1;
  2. for (int i=N; i > 0; i /= 2) {
  3. for (int j=i; j > 0; j--) {
  4. count += count;
  5. }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement