题解列表

筛选

for循环判断~

摘要: ``` #include #include #include #include using namespace std; const int Inf = 1e4; int M,N; ……

P1000 题解(c++简单)

摘要:解题思路:不就是加法嘛,还不会!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int x,y;int main(){ scanf("%d……

简单的背包问题

摘要:解题思路:简单的背包问题注意事项:参考代码:#include <iostream>#include <algorithm>using namespace std;int main(){    int ……
优质题解

蓝桥杯2020年第十一届国赛真题-补给 题解

摘要:**解题思路:** *状压DP + 最短路径:* w[i][j]:从村庄 i 到村庄 j 之间的最短距离; f[i][j]:从村庄 0 走到村庄 j ,且经过经过村庄的状态为 i 的最小飞行距离……