cpstl
Copy and Paste standard library (CPSTL) is a repository with a collection of data structure and algorithms in many different languages (by vincenzopalazzo)
kactl
KTH Algorithm Competition Template Library (... eller KTHs AC-tillverkande lapp) (by kth-competitive-programming)
cpstl | kactl | |
---|---|---|
5 | 6 | |
14 | 2,505 | |
- | 2.0% | |
0.0 | 6.1 | |
over 1 year ago | 7 days ago | |
C++ | C++ | |
GNU General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cpstl
Posts with mentions or reviews of cpstl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-16.
-
a better way to read from a socket with unusual end-of-stream tokens
Thanks, I just tweak a little bit the code and make a package for it https://github.com/vincenzopalazzo/cpstl/blob/master/go/io/scan/scan.go
-
Copy and Past library in c++
Take a look https://github.com/vincenzopalazzo/cpstl and contribute if you like.
-
[graph theory] Simple algorithm to solve k-cliques problem on graphs
I try to do my best https://github.com/vincenzopalazzo/cpstl/pulls
-
Reply Code challenge 2021 live chat
Some copy and paste code can be found here: https://github.com/vincenzopalazzo/cpstl
- Cuckoo hashing C++ Implementation (Copy and Paste implementation)
kactl
Posts with mentions or reviews of kactl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-03.
-
Popcount walks: next, previous, toward and nearest
As a competitive programmer, Iโve seen similar โmagicโ tricks here: https://github.com/kth-competitive-programming/kactl/blob/ma... (page 23)
-
Learning Python was a good decision. Python may have its own shortcomings, but big integers aren't scary anymore ๐๐
Printed references (e.g. KACTL) are allowed.
-
Competitive Programming Is Useless
There's not _that_ many algorithms or data structures you see in competitive programming, and the vast majority of them aren't advanced. You do need to memorize a good portion of them, but doing so is the easy part towards becoming good at it.
You can read one moderate length book and know all of the DSes and algorithms you'll 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 a few printable pages (20ish).
- [graph theory] Simple algorithm to solve k-cliques problem on graphs
-
I want to design and build a programming language specifically for competitive programming!
Finally, there are certain types of algorithms/operations that can be very sensitive to implementation. For example, a "good" Fast Fourier Transform implementation may be 3-4 orders of magnitude faster than a naive recursive one (with the same complexity!). Another fun case is something like (a*b)%c when the numbers are 64 bit. Using a fast implementation like this one (https://github.com/kth-competitive-programming/kactl/blob/master/content/number-theory/ModMulLL.h#L20) can speed up your code by 3-4x compared to using a naive implementation.
What are some alternatives?
When comparing cpstl and kactl you can also consider the following projects:
cp-algorithms - Algorithm and data structure articles for https://cp-algorithms.com (based on http://e-maxx.ru)
cc0-textures - Torrent downloads of free, CC0 licensed, PBR textures