#3 linjianyu@2012-10-02 07:00:00
28333
回复
删除
回复 板凳wwwaaannngggrs 的帖子
精度有点诡异
测试结果7:
测试结果错误.错误结果为:99552383900.69060
正确结果应为:99552383900.69061
改成
writeln((round(f[1]*100000)/100000):0:5)
测试结果1: 通过本测试点|有效耗时156ms
测试结果2: 通过本测试点|有效耗时156ms
测试结果3: 通过本测试点|有效耗时156ms
测试结果4: 通过本测试点|有效耗时172ms
测试结果5: 通过本测试点|有效耗时172ms
测试结果6: 通过本测试点|有效耗时172ms
测试结果7: 通过本测试点|有效耗时313ms
测试结果8: 通过本测试点|有效耗时296ms
测试结果9: 通过本测试点|有效耗时297ms
测试结果10:通过本测试点|有效耗时297ms
#4 风起时@2012-10-02 18:37:00
28335
回复
删除
回复 地毯linjianyu 的帖子
....话说不这么写pascal用Extended还会有两个点错 real double均只剩下第七个点。。。精度问题。。。。感谢指点