以下是引用priabm在2008/11/19 11:45:00的发言: 对这道题的解题思路没什么太大疑问。关键是对这里rounded的意思存有疑惑。按我的理解应该是四舍五入,但是根据答案里的解释似乎又不是。
答案里的解释是这么说的:“since the 290 miles are rounded to the nearest 10 miles, they can range anywhere from 284 miles to 295 miles. Since the 12 gallons of gas are rounded to the nearest gallon, they can range anywhere from 11.4 gallons to 12.5 gallons” 如果按照四舍五入的话,11.4应该舍为11,而12.5应该入为13。还是说这里的round并不是四舍五入的意思?请各位nn指点!多谢!
同不理解此题OG解释。因为解释里是说range from, 所以应该包括284和295(应该是285-294才对吧?),不涉及是否inclusive的问题吧? 如果是有一堆数range from 1 to 10, 该不会理解成2到9吧? 请nn指点! |