Editorial for COCI '10 Contest 6 #1 Okulpjanje


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

The solution is ad hoc. It's easy to see that our estimate for the number of people at the party is the product of the given party area, and the number of people per m^2. Now we just read the 5 input numbers one by one, and output the requested difference for each of them. We can use some type of loop, but we don't have to since there are always exactly 5 numbers.


Comments

There are no comments at the moment.