Commit Graph

51 Commits

Author SHA1 Message Date
d6fc0396cb Make Grid iterable 2024-09-05 20:10:34 -07:00
Eric Mertens
df195e65b5 Don't bother supporting a filename 2023-01-31 09:44:30 -08:00
Eric Mertens
2f7949b8da make output stream a Main parameter 2023-01-31 09:15:25 -08:00
Eric Mertens
c6264a2a1b Use a common main 2023-01-31 08:59:09 -08:00
Eric Mertens
833f496090 error checking for Grid 2022-11-28 09:20:59 -08:00
9601c42fc5 more tests 2022-11-28 09:20:30 -08:00
234217e6cc fix reference to popped queue element 2022-11-27 11:54:47 -08:00
c8470bb8dc queue 2022-11-27 11:43:10 -08:00
Eric Mertens
cb70a0b1d2 Startup returns a unique_ptr instead of using a static 2022-11-21 18:49:22 -08:00
Eric Mertens
c6879b4359 2020-01 2022-11-18 21:09:04 -08:00
Eric Mertens
4d4dfb4424 Merge branch 'main' of hub:glguy/aocpp 2022-11-17 08:38:43 -08:00
Eric Mertens
08fa71a591 minor speedup through reused allocation 2022-11-17 08:38:14 -08:00
a928216332 fixup 2022-11-16 21:23:40 -08:00
Eric Mertens
1351653c8e test14 2022-11-16 09:28:30 -08:00
Eric Mertens
dc817bbc9e tests16 2022-11-16 09:18:17 -08:00
91d9f6e340 cleanup 2022-11-15 21:35:20 -08:00
ede4232338 16 2022-11-15 20:01:43 -08:00
4f25eb33ae Merge branch 'main' of hub.v.glguy.net:glguy/aocpp 2022-11-15 18:20:54 -08:00
a79696c947 Update 09.cpp 2022-11-15 18:20:41 -08:00
Eric Mertens
7bae590b20 21 2022-11-15 17:13:09 -08:00
bb6d1eeb90 test 10 2022-11-13 20:14:46 -08:00
b6e3631916 tests for 24 2022-11-13 11:48:12 -08:00
e6f19d8ee3 start adding doctests 2022-11-13 11:42:40 -08:00
c3b3de5416 19 2022-11-12 21:22:07 -08:00
3337b9f536 25 2022-11-12 19:44:11 -08:00
40c6998e05 17 2022-11-12 17:16:28 -08:00
f073d2d826 22 2022-11-12 15:38:52 -08:00
18583a1f58 22 2022-11-12 10:43:15 -08:00
c1e78f3360 faster 10 2022-11-12 08:03:14 -08:00
e96354c4ec 10 2022-11-11 21:39:36 -08:00
29146ec1ee fuss 2022-11-11 20:00:43 -08:00
34a8e0d611 remove unneeded arguments 2022-11-11 19:51:14 -08:00
8a1bc011d7 missing includes 2022-11-11 19:21:39 -08:00
Eric Mertens
68cde80601 24 2022-11-11 17:46:56 -08:00
Eric Mertens
ce8a6a1c79 Update 24.cpp 2022-11-11 15:10:56 -08:00
Eric Mertens
346283bc8a warnings 2022-11-11 08:27:18 -08:00
4a8b31bd86 24 2022-11-10 22:59:40 -08:00
3d665e5ebb Update 20.cpp 2022-11-10 21:25:27 -08:00
17728edb44 20 2022-11-10 21:01:24 -08:00
85deec0dae cleanup 2022-11-10 19:38:43 -08:00
Eric Mertens
6865e3594e 18 2022-11-10 17:46:30 -08:00
Eric Mertens
5f080c1903 18 2022-11-10 11:28:03 -08:00
Eric Mertens
262c339920 18 2022-11-10 11:11:02 -08:00
bfe57e4487 noboost 2022-11-09 23:20:06 -08:00
ce5bf9ee19 Merge branch 'main' of hub.v.glguy.net:glguy/aocpp 2022-11-09 23:19:24 -08:00
56288c6ed3 18p1 2022-11-09 23:18:43 -08:00
Eric Mertens
48da2e2805 fewer lookups in kahn's algorithm 2022-11-09 15:45:55 -08:00
Eric Mertens
35e31bf67f 12 and 14 2022-11-08 21:28:12 -08:00
Eric Mertens
1dfe64b02d faster 2022-11-08 11:15:13 -08:00
Eric Mertens
679dd89b87 chunk in place 2022-11-08 09:50:21 -08:00