Shy looked shyly at the output and meowed, but the answer is wrong.The result wasCode:
$ ./go24 # Pi B+ 700 MHzAdvent of Code 2024 Day 24 Crossed Wires (GOMAXPROCS=1)Part 1 The z wires output 568353998Part 2 Swap wires brp,bwv,dmk,dph,jbj,jnf,nfk,pgkTotal execution time 548.010919033 seconds.
I checked, and the output was supposed to be
Code:
$ ./go24 # Pi 4B 1500 MHzAdvent of Code 2024 Day 24 Crossed Wires (GOMAXPROCS=4)Part 1 The z wires output 61495910098126Part 2 Swap wires css,cwt,gdd,jmv,pqt,z05,z09,z37Total execution time 4.693544958 seconds.This will have to be fixed before working on the MPI code.
Statistics: Posted by ejolson — Thu May 15, 2025 6:44 am