摘要:
题目传送门 思路 这是个板子题,二分图的最小点覆盖 #include <iostream> using namespace std; int e[500][500], n, m, match[500], ans, book[500], cow[500]; int dfs(int u){ for (i 阅读全文
posted @ 2020-09-20 00:56
SD!LTF
阅读(129)
评论(0)
推荐(0)
摘要:
题面传送门 解法: 看到连接字符串,第一反应肯定是比较它们的字典序 假设我们只比较字典序,代码如下: #include <algorithm> #include <iostream> #include <vector> using namespace std; vector<string> s; i 阅读全文
posted @ 2020-09-20 00:47
SD!LTF
阅读(210)
评论(0)
推荐(0)

浙公网安备 33010602011771号