Editorial for COCI '07 Contest 3 #1 Cetiri


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.

There are many possible solutions. One is to loop through all values between (say) -200 and 200, and see if it forms an arithmetic progression with the three given numbers. Others calculate the result from the given numbers using arithmetic.


Comments

There are no comments at the moment.