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:
4 files changed
+127
No files matched your search
@@ -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
|
||||
@@ -0,0 +1,2 @@
|
||||
3789
|
||||
667437230788118
|
||||
Reference in new issue
Block a user