2022年4月18日
摘要: 求最短路 #include <bits/stdc++.h> using namespace std; const int N = 1e5 + 10, INF = 0x3f3f3f3f; int n, m, d[N]; bool st[N]; vector < pair<int, int> > g[N 阅读全文
posted @ 2022-04-18 21:18 Hamine 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.luogu.com.cn/problem/P2602 https://www.acwing.com/problem/content/340/ 题目大意: 计算 $a$ 到 $b$ 区间中每一个数码出现的次数。 思路: 记忆化搜索 #include <bits/st 阅读全文
posted @ 2022-04-18 15:54 Hamine 阅读(24) 评论(0) 推荐(0) 编辑