HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
kth-competitive-programming
kactl
C++2020–2023
kth-competitive-programming / kactl

kactl

KTH Algorithm Competition Template Library (... eller KTHs AC-tillverkande lapp)

4Distinct people
4Mentions
0Explicit recommenders
3.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

KTH Algorithm Competition Template Library (... eller KTHs AC-tillverkande lapp)

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 1:57:11 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year4 dated mentions

Observed mentions: 2020-05-29 21:30:52 UTC to 2023-11-14 17:11:59 UTC.

0122020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC211
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101

What Hacker News says

2 sources
I was reading about an implementation of Barrett reduction recently: https://en.wikipedia.org/wiki/Barrett_reduction Specifically 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 possible product of 64 bit numbers! In the end you still gotta go back to good old fashion proofs: https://github.com/kth-competitive-programming/kactl/blob/ma...
In There are only four billion floats, so test them all (2014)
chillee·May 29, 2020Submission

Show HN: High quality source of algorithms/DS for competitive programming

https://github.com/kth-competitive-programming/kactl/blob/master/kactl.pdf I've occasionally seen sources of algorithms/data structures posted on HN, but they've mostly been fairly low quality. This source was created/maintained for the International Collegiate Programming Competition, which has a 25 page limit. Among others, the last 3 MIT ICPC teams have used a variant of this notebook. Some neat things in this notebook: The fastest 64 bit mod mul implementation I've seen (uses doubles and proven correct): https://github.com/kth-competitive-programming/kactl/blob/master/content/number-th… A fast/short implementation of FFT: https://github.com/kth-competitive-programming/kactl/blob/master/content/numerical… A bump allocator: https://github.com/kth-competitive-programming/kactl/blob/master/content/vario
Read the rest
us/BumpAllocator.h
1 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.