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

Fixed bug in policy-based ordered statistics tree #41

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

ongyiumark
Copy link
Contributor

@ongyiumark ongyiumark assigned ongyiumark and leloykun and unassigned ongyiumark Nov 12, 2023
Copy link
Contributor

@leloykun leloykun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems serious

we're gonna need a test case for this just to be sure

@ongyiumark
Copy link
Contributor Author

I submitted two identical solutions to this problem. Got TLE with splay_tree_tag.
https://cses.fi/problemset/task/1144/

TLEd on this input:
test_input.txt

AC code:
https://cses.fi/paste/7df91b3af6391324750784/

TLE code:
https://cses.fi/paste/e67c67d2e27cc92a75077e/

Copy link
Contributor

@leloykun leloykun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yolo

let's merge this

@leloykun leloykun merged commit d2caf71 into main Oct 18, 2024
2 checks passed
@leloykun leloykun deleted the mo--fix-ordered-stat-tree branch October 18, 2024 04:33
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.

2 participants