GoLang Solution For UVa Online Judge: 10215 - The Largest/Smallest Box ...
GO Solution For UVa 10215 - The Largest/Smallest Box .... In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.
Problem Description
In the following figure you can see a rectangular card. The width of the card is W and length of the card is L and thickness is zero. Four (x ∗ x) squares are cut from the four corners of the card shown by the black dotted lines. Then the card is folded along the magenta lines to make a box without
...You can find the full details of the problem The Largest/Smallest Box ... at UVa Online Judge
Sample Input
1 1 2 2 3 3
Sample Output
0.167 0.000 0.500 0.333 0.000 1.000 0.500 0.000 1.500
Solution: Please check the main.go snippet for the solution.
Solution originally posted at: Github by @codingsince1985
Comments
Leave a comment
You are not LoggedIn but you can comment as an anonymous user which requires manual approval. For better experience please Login.