You are viewing a single comment's thread. Return to all comments →
Here'are the times on my laptop, C++ 16 0m0.304s 17 0m0.768s 18 0m2.104s 1.83s on Hackerrank 19 0m5.868s 20 0m18.168s 21 0m53.888s
The case n=22 almost killed my 8GB laptop with a swap.
So, the problem is solvable (at least in c++) without cheating.
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #155: Counting Capacitor Circuits.
You are viewing a single comment's thread. Return to all comments →
Here'are the times on my laptop, C++ 16 0m0.304s 17 0m0.768s 18 0m2.104s 1.83s on Hackerrank 19 0m5.868s 20 0m18.168s 21 0m53.888s
The case n=22 almost killed my 8GB laptop with a swap.
So, the problem is solvable (at least in c++) without cheating.