摘要: 这题需要进行许多次四舍五入,得到最终结果,四舍五入的方法是(int)(x + 0.5)View Code #include <iostream>#include <cstdlib>#include <cstring>#include <cstdio>using namespace std;int main(){ //freopen("D:\\t.txt", "r", stdin); int t; scanf("%d", &t); while (t--) { int n, coun 阅读全文
posted @ 2011-03-05 22:32 undefined2024 阅读(161) 评论(0) 推荐(0) 编辑