kth-competitive-programming/kactl
View on GitHub ↗ ★ 3,611 C++
KTH Algorithm Competition Template Library (... eller KTHs AC-tillverkande lapp)
4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2020-05-29 · latest 2023-11-14
20082026
-
As a competitive programmer, I’ve seen similar ‘magic’ tricks (including this one) here: https://github.com/kth-competitive-programming/kactl/blob/ma... (page 23, 10.5.1)
comment by bicsi · 2023-11-14 · in Popcount walks: next, previous, toward and nearest -
…need for 99.9% of the time. cses.fi/book is a good one with a free version if you're curious. https://github.com/kth-competitive-programming/kactl may also be of interest, it contains a good amount of the algorithms/DSes you'd ever need on…
comment by kadoban · 2021-08-24 · in Competitive programming is useless -
…one that uses 80-bit long double for calculating `(__int128_t)a * b % M` from this github: https://github.com/kth-competitive-programming/kactl/blob/ma... But how do you test the correctness of such code? You can't just stress test all…
comment by uyt · 2020-10-11 · in There are only four billion floats, so test them all (2014)