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.
You are following the sequence of balls given in the input cases. But you got to find the sequence of balls which gives you the shortest length and then evaluate.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Join us
Create a HackerRank account
Be part of a 26 million-strong community of developers
Please signup or login in order to view this challenge
Project Euler #222: Sphere Packing
You are viewing a single comment's thread. Return to all comments →
hi can anyone please tell me what's wrong with this code cause it's not working after test case 2 import math
You are following the sequence of balls given in the input cases. But you got to find the sequence of balls which gives you the shortest length and then evaluate.