摘要: 简单题View Code #include <iostream>using namespace std;int main(){ double now, c; int i; //freopen("t.txt", "r", stdin); while (cin >> c && c != 0) { now = 0; i = 2; while (now < c) { now += 1.0 / i; i++; } printf(... 阅读全文
posted @ 2012-11-28 19:56 undefined2024 阅读(130) 评论(0) 推荐(0)