Skip to content

I sometimes question all purpose - #30

Merged
AnonMiraj merged 1 commit into
AnonMiraj:mainfrom
r6mez:agent/add-reference-utilities
Aug 3, 2026
Merged

I sometimes question all purpose#30
AnonMiraj merged 1 commit into
AnonMiraj:mainfrom
r6mez:agent/add-reference-utilities

Conversation

@r6mez

@r6mez r6mez commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Added some blackboxes

  • a coordinate-compression helper
  • a positive-divisor counting for large numbers (< 1e18)
  • add a dynamic double-hash segment tree for substring and palindrome queries

My feelings about all this are still unmoved; I just want to go through it.

image

@r6mez r6mez changed the title Add reusable reference utilities I sometimes question all purpose Aug 3, 2026
@r6mez
r6mez requested a review from AnonMiraj August 3, 2026 10:37
@r6mez
r6mez marked this pull request as ready for review August 3, 2026 10:37
@AnonMiraj

Copy link
Copy Markdown
Owner

number of divisors and cords comp is kinda useless
I mean you can literally just do this

map<int, int> m; for (int x : a) m[x] = 0;
int idx = 0; for (auto& p : m) p.second = idx++;

but I longer care.

@AnonMiraj
AnonMiraj merged commit 6d84062 into AnonMiraj:main Aug 3, 2026
1 check passed
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