02cbe139e9
chore(cpp): use fully-qualified names
...
use fully-qualified names in the helpers instead of abusing the ‹using›
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-23 20:42:09 +02:00
663472e5da
chore(cpp): improve the template
...
* add missing headers: ‹bit›, ‹map›, ‹queue› and ‹set›
* name the namespaces
* math
* introduce ‹MODULO› for big numbers in problems
* input
* implement ‹load_vector›
* output
* implement ‹operator<<› for ‹std::pair›
* implement ‹yesno› as shortcut for YES/NO answers
* implement ‹LOOP(n)› for quick range-like for-loops
* make ‹N› test cases the default
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-23 11:39:05 +02:00
2ef5f300ca
chore(cpp): add frequently used headers and yes/no
...
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-10 20:20:19 +02:00
fddc548fbb
chore(cpp): update skeleton
...
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-10 14:23:09 +02:00
c2192f52e7
chore(cpp): improve skeleton
...
* add power
* add ‹using namespace std›
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-10 11:39:30 +02:00
9e5f237dfd
chore(cpp): build catch2 only in common directory
...
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-10 11:32:16 +02:00
5013af5dcb
chore(cpp): adjust skeleton and makefile
...
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-10 11:32:16 +02:00
9cc2b8ba35
chore(java): add skeleton and run script
...
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-10 09:56:54 +02:00
4a18e8b988
chore: move common files to subdirectories
...
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-10 09:56:53 +02:00
12ffad5a8b
chore(cpp): support catch for tests
...
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-10 09:56:53 +02:00
edfa2fe026
chore: support more than one target
...
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-05-14 14:56:37 +02:00
a92e9dac08
chore: add commonly used files
...
* add makefile
* add c++ skeleton
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-05-14 14:39:42 +02:00