This is the blog of site xoptutorials.com. All the news will be posted here and on the facebook page of xoptutorials.
Pages
▼
Thursday, December 18, 2014
ACM 1161. Stripies
We need to consider a little thing here, that the lost will be greater if we square root the biggest ones. We just need to get the biggest 2 numbers, calculate the new number and get the new 2 biggest from the new pile until there is only one left.
No comments:
Post a Comment