yuwj  

2025年5月16日

摘要: D 题意: 边权图,1~n路径最小抑或和 思路: 纯暴搜 代码: /* 暴搜,因为不能经过重复点,所以需要vis 然后回溯继续搜 */ #include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 阅读全文
posted @ 2025-05-16 09:15 xiaowang524 阅读(12) 评论(0) 推荐(0)