文章列表
匈牙利算法(找对象)
摘要://形象:男的女的互有好感,现在为男的(a)找女朋友(b)且保证没有脚踏多只船
#include<iostream>
#include<algorithm>
#include<cstring>
……
竞选班长竞选班长竞选班长竞选班长竞选班长竞选班长竞选班长竞选班长竞选班长竞选班长
摘要:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;ll tong[N];int ……
1848 求输入数据绝对值
摘要:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ double a; while(cin……
Seq2Seq的学习总结
摘要:【原文1】:https://blog.csdn.net/sikh_0529/article/details/129148504
【原文2】:https://zhuanlan.zhihu.com/p/……
平均值计算解题思路及C代码
摘要:参考代码:
#include
int main()
{
char a[10];
int i,n=0,sum=0;
fl……
dp:01背包 二维加一维
摘要://01背包:按照y总分析所写 用于学习记录
#include<iostream>
using namespace std;
const int N=1010;
int v[N],w[N]……
dp:完全背包:三维,二维,一维
摘要://完全背包
#include<iostream>
using namespace std;
const int N=1010;
int n,m;
int v[N],w[N];
int……
【编程入门】温度转换
摘要:使用format格式或者直接输出的方式输出c=-40
1.获取输入的华氏温度
2.进行换算
3.输出摄氏温度
a=float(input())
c=5*(a-32)/9
#……