|
|
594c061c60
|
Replace regex with simpler string parsing.
Remove the dependency on std::regex which is slow to both compile and
run. Saves about half the execution time.
|
2019-12-06 18:25:18 +01:00 |
|
|
|
5c9dc0b6bd
|
Replace BFS with an ancestor search.
|
2019-12-06 18:11:03 +01:00 |
|
|
|
43e03c742b
|
Implement day 06.
I forgot how slow std::regex was to compile.
|
2019-12-06 08:37:15 +01:00 |
|
|
|
f9caa8d1a9
|
Partial day 06.
|
2019-12-06 07:26:46 +01:00 |
|
|
|
0bf29b1e42
|
Reuse general intcode implementation.
|
2019-12-05 18:19:26 +01:00 |
|
|
|
c62bcf010f
|
Implement day 05.
|
2019-12-05 18:19:14 +01:00 |
|
|
|
8a431820b0
|
Implement day 04.
|
2019-12-04 07:59:18 +01:00 |
|
|
|
b31d56c4ac
|
Small reading utility.
|
2019-12-04 07:58:59 +01:00 |
|
|
|
3dca1a46e1
|
Implement day 03.
|
2019-12-03 18:27:17 +01:00 |
|
|
|
a40da965f0
|
Partial implementation for part 2.
|
2019-12-03 18:04:34 +01:00 |
|
|
|
a1d871fd17
|
Implement day 03 part 1.
|
2019-12-03 17:24:51 +01:00 |
|
|
|
acd5f6d215
|
Add unit tests for day 1.
|
2019-12-02 22:05:23 +01:00 |
|
|
|
403b2889a2
|
Better use of move and copy constructors.
|
2019-12-02 19:40:18 +01:00 |
|
|
|
3fc7390eaa
|
Implement day 2.
|
2019-12-02 19:35:09 +01:00 |
|
|
|
3661bd7c49
|
Fix missing includes.
|
2019-12-02 19:34:44 +01:00 |
|
|
|
b23b0999d6
|
Implement day 1.
|
2019-12-01 10:50:27 +01:00 |
|
|
|
d0a1ca604d
|
Merge pull request #1 from bertptrs/setup-2019
Setup 2019
|
2019-12-01 10:21:32 +01:00 |
|
|
|
c63b962cb3
|
Fix Clang incompatibility.
std::strchar should return const pointer for const input but it doesn't.
|
2019-11-28 08:09:37 +01:00 |
|
|
|
e9bf399af4
|
Prepare all days skeletons.
|
2019-11-28 08:00:46 +01:00 |
|
|
|
5b91fd4da3
|
No longer depend on Boost.program_options.
|
2019-09-25 13:19:27 +02:00 |
|
|
|
90b067ce0d
|
Scratch running in travis.
Modern C++ is too difficult to run in travis/
|
2019-09-22 19:43:42 +02:00 |
|
|
|
4ba6fe48d1
|
Use recent GCC and Clang versions.
|
2019-09-22 19:25:23 +02:00 |
|
|
|
0130fedb61
|
Recreate gtest dir only if necessary.
|
2019-09-22 18:48:43 +02:00 |
|
|
|
c7a7a98a39
|
Rework test case names.
|
2019-09-22 18:46:00 +02:00 |
|
|
|
99c1522122
|
Don't soil build directory.
|
2019-09-22 18:00:22 +02:00 |
|
|
|
c1dd06e653
|
Build my own gtest.
Since the bundled version doesn't have a shared library.
|
2019-09-22 17:52:12 +02:00 |
|
|
|
7219712be4
|
Improve GTest configuration.
|
2019-09-22 17:30:09 +02:00 |
|
|
|
1f8e19c49b
|
Move to GTest for better integration.
|
2019-09-22 17:13:31 +02:00 |
|
|
|
02066bf54a
|
Add README and update general one.
|
2019-09-15 15:46:34 +02:00 |
|
|
|
c046d5da01
|
Restructure header files.
This should prevent the tests from being recompiled.
|
2019-09-15 13:44:26 +02:00 |
|
|
|
4f1ddec002
|
Ensure the test order is consistent.
|
2019-09-15 13:12:00 +02:00 |
|
|
|
ab91276fca
|
Replace std::filesystem with boost::filesystem.
Somehow, travis still doesn't support the right one.
|
2019-09-12 15:00:54 +02:00 |
|
|
|
4e5b3b5a15
|
Implement generic testing for 2019.
This method reads a specific directory and applies all inputs there to
their proper implementation.
|
2019-09-12 14:51:17 +02:00 |
|
|
|
e26c90d54a
|
Add initial test set-up.
|
2019-09-12 13:36:46 +02:00 |
|
|
|
5585bce297
|
Add boost to build.
|
2019-09-12 12:38:17 +02:00 |
|
|
|
11dd04ac82
|
Relax CMake requirement.
|
2019-09-12 12:33:26 +02:00 |
|
|
|
a7587240c6
|
Update travis script for 2019.
|
2019-09-12 12:30:46 +02:00 |
|
|
|
54c704a821
|
Cleaner runner.
|
2019-09-12 12:18:47 +02:00 |
|
|
|
5cead82bee
|
Add timing code.
|
2019-09-12 12:08:46 +02:00 |
|
|
|
944e595b97
|
Wrong output variable.
|
2019-09-12 12:06:12 +02:00 |
|
|
|
62f3e4c5de
|
Improve command line parser.
|
2019-09-12 11:43:46 +02:00 |
|
|
|
cd4c32c2a3
|
Initial set-up for 2019 AoC.
|
2019-09-12 11:16:03 +02:00 |
|
|
|
41d07fa419
|
Switch loop order for locality.
|
2019-08-22 12:42:46 +02:00 |
|
|
|
82dfff21e9
|
Fix other clippy warnings.
|
2019-08-22 12:32:07 +02:00 |
|
|
|
29b5dcdf62
|
Change signature for solution.
|
2019-08-22 12:28:52 +02:00 |
|
|
|
e949701564
|
Small simplification.
|
2019-02-19 15:38:11 +01:00 |
|
|
|
c4163824cc
|
Implement 2016 day 22 part 2.
Only 2 years and 2 months later.
|
2019-02-19 15:28:32 +01:00 |
|
|
|
9ce03d40ca
|
Implement 2016 day 22 part 1. Again.
|
2019-02-19 11:29:40 +01:00 |
|
|
|
374eda945b
|
Reduce code duplication.
|
2019-02-18 15:39:41 +01:00 |
|
|
|
c16ef40d73
|
Correct formatting.
|
2019-02-18 15:13:48 +01:00 |
|