dp:01背包 二维加一维 摘要://01背包:按照y总分析所写 用于学习记录 #include<iostream> using namespace std; const int N=1010; int v[N],w[N]…… 文章列表 2024年08月16日 0 点赞 0 评论 189 浏览 评分:0.0
平均值计算解题思路及C代码 摘要:参考代码: #include int main() { char a[10]; int i,n=0,sum=0; fl…… 文章列表 2024年08月15日 0 点赞 0 评论 297 浏览 评分:0.0
Seq2Seq的学习总结 摘要:【原文1】:https://blog.csdn.net/sikh_0529/article/details/129148504 【原文2】:https://zhuanlan.zhihu.com/p/…… 文章列表 2024年07月19日 0 点赞 0 评论 515 浏览 评分:0.0
1848 求输入数据绝对值 摘要:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ double a; while(cin…… 文章列表 2024年07月18日 0 点赞 0 评论 398 浏览 评分:0.0
竞选班长竞选班长竞选班长竞选班长竞选班长竞选班长竞选班长竞选班长竞选班长竞选班长 摘要:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;ll tong[N];int …… 文章列表 2024年07月15日 0 点赞 0 评论 405 浏览 评分:0.0
匈牙利算法(找对象) 摘要://形象:男的女的互有好感,现在为男的(a)找女朋友(b)且保证没有脚踏多只船 #include<iostream> #include<algorithm> #include<cstring> …… 文章列表 2024年07月12日 0 点赞 0 评论 197 浏览 评分:0.0
染色法判二分图 摘要://二分图:图中不含奇数环 一条边两个点的颜色需不同 #include<iostream> #include<cstring> #include<algorithm> using na…… 文章列表 2024年07月11日 0 点赞 0 评论 204 浏览 评分:0.0
kruskal找(判断)最短路 摘要:#include<iostream> #include<algorithm> #include<cstring> using namespace std; const int N=1e5+…… 文章列表 2024年07月11日 0 点赞 0 评论 214 浏览 评分:0.0
prim求最短路(稀疏) 摘要://prim求最短路(神似dijkstra) #include<iostream> #include<algorithm> #include<cstring> using namespa…… 文章列表 2024年07月11日 0 点赞 0 评论 235 浏览 评分:0.0
floyd求最短路 摘要://floyd求最短路 #include<iostream> #include<cstring> #include<algorithm> using namespace std; co…… 文章列表 2024年07月10日 0 点赞 0 评论 211 浏览 评分:9.9