day 13 solution **after hints!**

Attempted a brute force solution.

After letting my i9 churn on it across all cores and hyperthreads for ~4 days, looked online and learned about Chinese Remainder Theorem. Applied code from Rosetta Code and success.

Signed-off-by: Stephen Waits <swaits@amazon.com>
This commit is contained in:
Stephen Waits committed 2020-12-15 13:58:14 -08:00
1 parent 9fb4f0de7c
commit 71a46593ba
4 files changed
+127

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
1002392
23,x,x,x,x,x,x,x,x,x,x,x,x,41,x,x,x,37,x,x,x,x,x,421,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,17,x,19,x,x,x,x,x,x,x,x,x,29,x,487,x,x,x,x,x,x,x,x,x,x,x,x,13
+2
View File
@@ -0,0 +1,2 @@
3789
667437230788118