摘要: ###题目链接:https://acm.hdu.edu.cn/showproblem.php?pid=1663 记录一下某数字出现的次数,每个数字都单独算一遍即可 #include<cstdio> #include<cstring> #include<vector> using namespace 阅读全文
posted @ 2021-08-14 19:21 Tartarus_li 阅读(20) 评论(0) 推荐(0) 编辑
摘要: ###题目链接:https://www.luogu.com.cn/problem/P2657 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 30; ll l, r; ll dp[ 阅读全文
posted @ 2021-08-14 15:38 Tartarus_li 阅读(22) 评论(0) 推荐(0) 编辑