i = 1;
while(i < n) {
j = 0;
while(j < n) {
cnt = cnt + 1;
j = j + i;
}
i = 2 * i;
}
Last active
July 13, 2025 07:16
-
-
Save thinkphp/5ebfd9ea16d3003d7b6b96dd1588d1f2 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment