摘要: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=2250http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=... 阅读全文
posted @ 2015-03-30 19:21 tcgoshawk 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 解题思路:从1到n的倒数之和。#include#include#includeusing namespace std;int main(){ int n; while(scanf("%d",&n)!=EOF){ double ans=0; for(int i=... 阅读全文
posted @ 2015-03-30 08:20 tcgoshawk 阅读(298) 评论(0) 推荐(0) 编辑