Fast sums calculation
indy256 opened this issue · comments
Andrei Navumenka commented
https://cp-algorithms.com/geometry/lattice-points.html
https://min-25.hatenablog.com/archive/2018/4
https://github.com/dacin21/dacin21_codebook/blob/master/nt/floor_sums.cpp
https://github.com/zimpha/algorithmic-library/blob/master/mathematics/lattice_counting.cc
https://github.com/kth-competitive-programming/kactl/blob/master/content/number-theory/ModSum.h