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

問題追加 static_range_mode_query #1077

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

maspypy
Copy link
Collaborator

@maspypy maspypy commented Jan 2, 2024

つくりました

@maspypy maspypy linked an issue Jan 2, 2024 that may be closed by this pull request
@maspypy
Copy link
Collaborator Author

maspypy commented Jan 2, 2024

gen はほとんど static_range_count_distinct そのままです($l=r$ が作られないようにしただけ)。

- $@{param.N_MIN} \leq N \leq @{param.N_MAX}$
- $@{param.Q_MIN} \leq Q \leq @{param.Q_MAX}$
- $@{param.A_MIN} \leq a_i \leq @{param.A_MAX}$
- $0 \leq l \lt \leq N$
Copy link
Collaborator

Choose a reason for hiding this comment

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

0 \leq l \lt r \leq N

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ありがとうございます、なおしました

@maspypy
Copy link
Collaborator Author

maspypy commented Jan 18, 2024

マージします。

@maspypy maspypy merged commit 06906d2 into yosupo06:master Jan 18, 2024
6 checks passed
@maspypy maspypy deleted the static_range_mode_query branch February 10, 2024 16:31
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.

[問題案] Static Range Mode Query
2 participants