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 閱讀(861)
評(píng)論(0) 編輯 收藏 引用 所屬分類:
學(xué)習(xí)筆記