When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

T--o_o--T's blog

By T--o_o--T, history, 3 years ago, In English

Problem link : Largest Box I can't solve this problem. When I search google for solution I found one solution. In that solution using a formula like this "x = (W+L-sqrt(W*W+L*L-W*L))/6;" How to prove this formula? Solution link : [](http://a-plasma.blogspot.com/2016/01/jans-lightoj-1297-largest-box-solution.html)

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?