文章列表

筛选

染色法判二分图

摘要://二分图:图中不含奇数环  一条边两个点的颜色需不同  #include<iostream> #include<cstring> #include<algorithm> using na……

匈牙利算法(找对象)

摘要://形象:男的女的互有好感,现在为男的(a)找女朋友(b)且保证没有脚踏多只船 #include<iostream> #include<algorithm> #include<cstring> ……

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/……

dp:01背包 二维加一维

摘要://01背包:按照y总分析所写 用于学习记录 #include<iostream> using namespace std; const int N=1010; int v[N],w[N]……

【编程入门】温度转换

摘要:使用format格式或者直接输出的方式输出c=-40 1.获取输入的华氏温度 2.进行换算 3.输出摄氏温度 a=float(input()) c=5*(a-32)/9 #……