Box It!

  • + 40 comments

    If you're having trouble with one test case, I know I did. The solution was to notice that the Calculate function returned a long long. This made me think that one test case was really large. I changed the private variables to long instead of ints and it worked. Hope this helps!