摘要: 题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3176 问题: If a list of (number, percent) pairs has been recorded, can we decide wheth 阅读全文
posted @ 2018-08-23 22:21 子诚- 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3216 f(n,m)的意思是求(m,n]的是m的倍数的数,即为(n-m)/m F(n)=f(n,1)+f(n,2)+...+f(n,n)=(n-1)/1+(n-2)/2+.. 阅读全文
posted @ 2018-08-23 15:13 子诚- 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3174 我的做法,打表,模拟即可。 #include <iostream> #include <cstdio> using namespace std; int a[12 阅读全文
posted @ 2018-08-23 10:10 子诚- 阅读(187) 评论(0) 推荐(0) 编辑