- 1
Bebakhshid in soal daghighan chi mikhad? age pasokh bedid mamnoon misham
In this problem you have to determine whether the calculation of calories is correct or not, considering there may be some rounding issues.
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?
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 ;)
merci AMiR
In order to post something you must login first. You can use the form in the top of this page.