Hint
In C++ language, cout.precision is used to set the effective numbers of output.
You may use it in the program. E.g. cout.precision(15)
.
In C language, format "%.2lf" may be used
在JOJ 1001的hint中看到的,这样就可以提高cout的精度
posted on 2007-07-17 21:47
yoyouhappy 阅读(855)
评论(0) 编辑 收藏 引用 所属分类:
学习笔记