We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I can't manage to get it to run in time :C
Any tips?
So far I found the general and I'm just passing it layer, height, depth and width and add one to the amount of cubs found with the result's cubes.
I did a very, very optimized version of that, but it doesn't run on time so I guess there is something I'm not catching.
Any leads?
Thanks.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #126: Cuboid layers
You are viewing a single comment's thread. Return to all comments →
I can't manage to get it to run in time :C Any tips? So far I found the general and I'm just passing it layer, height, depth and width and add one to the amount of cubs found with the result's cubes. I did a very, very optimized version of that, but it doesn't run on time so I guess there is something I'm not catching. Any leads? Thanks.