Timon Knigge
Timon Knigge
More generally, std::equal, std::copy, etc
Are you really that worried about the performance of m[x] = y? I'm also a bit uncomfortable with this hint parameter by the way, since apparently it behaves differently until...
Available here, but not yet very fast https://github.com/TimonKnigge/TCR/blob/eth/snippets/math/lucy.cpp
k=2 for the triangles problem