calgagi / cp_gen Goto Github PK
View Code? Open in Web Editor NEWA modular and robust application to create competitive programming templates.
A modular and robust application to create competitive programming templates.
Include friend class avlTester
that is only compiled if CP_GEN_TESTS
is defined.
Also probably should get rid of a few of Node
's member variables in order to decrease memory usage.
This can be done via checking if the Tester file exists...
If it does, we run the tests.
If it doesn't, we don't run tests.
Reason for this: Allows users to not include tests if they don't want to. That way, forks of this repo can be created.
Or abstract it to n-dimensional
Might not do history tracking, but definitely want lazy propagation
Also include a data structure for matrices :)
We could implement cp::graph to be a basic graph data structure...
Then, we could have bfs/dfs/max_flow/least_common_ancestor libraries each that have the cp::graph dependency. I'd have to implement dependency tracking in the main program, but might be cool
This will allow you to not include #include "../lib/.hpp" at the top of every test file.
This should be able to be completed in O(logn)
Sometimes you just need a bigint! This would probably be 128 bit integer
closest_gt
would be basically be synonymous to std::upper_bound
.
closest_lt
would be the opposite of closest_gt
: it would grab the closest item in the tree that is less than val
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.