Skip to content
New issue

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

Update LazySegmentTree.py #81

Closed
wants to merge 1 commit into from

Conversation

bogoconic1
Copy link

@bogoconic1 bogoconic1 commented Jan 3, 2023

https://codeforces.com/contest/1549/submission/186542539 (Runtime Error on Test 5)
Size of self._lazy and self._data is too small, as seen in the runtime error submission (array index out of bounds)
Changed size from (2 * _size) to (4 * _size)

https://codeforces.com/contest/1549/submission/186543644 (Updated submission ACs after increasing size)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants