We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes the method won't return the correct value.
How to reproduce:
FenwickTree ft(10); for (int i = 1; i <= 10; i++){ ft.update(i,1); } for (int i = 1; i <= 10; i++){ cout << ft.select(i) << "\n"; }
Expected output:
1 2 3 4 5 6 7 8 9 10
Obtained result:
1 2 3 4 5 6 7 8 16 16
Code execution: https://ideone.com/k5IMXN
The text was updated successfully, but these errors were encountered:
eh wait, this looks legit (will KIV), I check again later
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Sometimes the method won't return the correct value.
How to reproduce:
Expected output:
Obtained result:
Code execution: https://ideone.com/k5IMXN
The text was updated successfully, but these errors were encountered: