GoLang Solution For UVa Online Judge: 10131 - Is Bigger Smarter?
GO Solution For UVa 10131 - Is Bigger Smarter?. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.
Problem Description
Some people think that the bigger an elephant is, the smarter it is. To disprove this, you want to take the data on a collection of elephants and put as large a subset of this data as possible into a sequence so that the weights are increasing, but the IQ’s are decreasing.
Input The input will cons
...You can find the full details of the problem Is Bigger Smarter? at UVa Online Judge
Sample Input
6008 1300 6000 2100 500 2000 1000 4000 1100 3000 6000 2000 8000 1400 6000 1200 2000 1900
Sample Output
4 4 5 6 7
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.