pages:
  • 1
Jamshid SAYS

Bebakhshid in soal daghighan chi mikhad? age pasokh bedid mamnoon misham

AMiR SAYS

In this problem you have to determine whether the calculation of calories is correct or not, considering there may be some rounding issues.

Jamshid SAYS

Khob baraye khode mesali ke dakhel soal zade shode agar bejaye 12.1,30.6,4.7 adadhaye 11.6,31.1,5.3 gharar bedim ham javab barabare 250 mishavad. khob bein in dota kodam yek dorost ast?

AMiR SAYS

As the input specification says

Each data set will consist of 4 non-negative integers

There are no float numbers in input.

Those numbers that you just said, both are correct.

You have to find the the period that the answer is correct and check whether or not the answer fits in that period or not.

You can decrease every number by 0.5 and then calculate total calories to find the starting point of period and increase by 0.5 and do so to find the end point of the period.

Hope this helps ;)

Jamshid SAYS

merci AMiR