include: floyd-warshall kirchhoff's theorem + min spanning tree count gnu rope segment tree (?) treap/ cartesian tree number theoretic transform (fft)