摘要: #include <bits/stdc++.h> using namespace std; #define LL long long const int mod = 1e9 + 7; const int maxn = 1e5 + 10; int N; int num[maxn]; LL dp[max 阅读全文
posted @ 2019-03-05 20:28 _Zlrrr 阅读(133) 评论(0) 推荐(0)
摘要: http://codeforces.com/contest/1118 A. Water Buying #include <bits/stdc++.h> using namespace std; int T; int main() { scanf("%d", &T); while(T --) { lo 阅读全文
posted @ 2019-03-05 16:29 _Zlrrr 阅读(190) 评论(0) 推荐(0)
摘要: https://ac.nowcoder.com/acm/contest/371#question A.小睿睿的等式 #include <bits/stdc++.h> using namespace std; int N, K, M; int num[11] = {6, 2, 5, 5, 4, 5, 阅读全文
posted @ 2019-03-05 10:07 _Zlrrr 阅读(100) 评论(0) 推荐(0)