摘要: 题解:第一题: 打表找规律,从12以后每次加49,我一直在前十找规律,,找了半天,以后还是多打点,学聪明点 #include <bits/stdc++.h> #define ll long long using namespace std; int zl[4] = {1,5,10,50}; ll a 阅读全文
posted @ 2018-08-12 18:29 Ed_Sheeran 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 题解: 第一题: 规律可由打表知,需要注意一下容斥原理 #include<bits/stdc++.h> using namespace std; const int M = 1e4 + 10; #define ll long long int n; ll m, Ans, num[M], vis[M] 阅读全文
posted @ 2018-08-12 18:25 Ed_Sheeran 阅读(167) 评论(0) 推荐(0) 编辑