摘要:
链接: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+.. 阅读全文
摘要:
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3174 我的做法,打表,模拟即可。 #include <iostream> #include <cstdio> using namespace std; int a[12 阅读全文