- 博客(194)
- 资源 (6)
- 收藏
- 关注
转载 ubuntu下安装rtl8811cu/rtl8821cu网卡 Tplink WDN5200H网卡
由于要wifi调试,笔记本内置的网卡有点不太灵光,买了个TPLINK的WDN5200HAC网卡,给虚拟机用,折腾一下成功了github上有rtl8821cu/rtl8811cu的驱动和安装方法,但是时间有点久了,新的内核计时器改变了很多,所以驱动已经过时,找到一个新的内核驱动,查看我的资源可以下载,github可以不用资源分下载驱动,如果看官愿意打赏一下我辛苦整理,那就下载一下我的资源吧...
2019-06-10 19:00:00
4809
1
原创 一、线性回归
模型表示让我们通过一个例子来开始:这个例子是预测住房价格的,我们要使用一个数据集,数据集包含俄勒冈州波特兰市的住房价格。在这里,我要根据不同房屋尺寸所售出的价格,画出我的数据集。比方说,如果你朋友的房子是1250平方尺大小,你要告诉他们这房子能卖多少钱。那么,你可以做的一件事就是构建一个模型,也许是条直线,从这个数据模型上来看,也许你可以告诉你的朋友,他能以大约220000(美元)左右的价格卖掉...
2019-01-21 10:30:15
272
原创 HDU 1245 Saving James Bond(floyd)
Saving James Bond#include <cstdio>#include <cstring>#include <cmath>#include <algorithm>using namespace std;const double inf = 100000000;double map[105][105];int s[1...
2018-10-25 11:11:35
259
原创 poj 2411 Mondriaan's Dream(状压dp)
Mondriaan's Dream#include <iostream>#include <cstring>#include <cstdio>#include <cstdlib>using namespace std;int N, M;//棋盘的宽和长long long dp[15][4096];////dp[i][j]用于存储填...
2018-10-24 13:55:24
164
原创 HDU1596:find the safest road(Dijkstra)
find the safest road#include <stdio.h>#include <string.h>#include <math.h>#include <algorithm>using namespace std;const double inf = 1000000;int n, m;double map[1005...
2018-10-23 14:25:41
190
原创 HDU 1599 find the mincost route(floyd)
find the mincost route#include <stdio.h>#include <string.h>#include <algorithm>using namespace std;const int inf = 100000000;int n, m, ans;int map[105][105];int dis[105][10...
2018-10-23 11:42:42
175
原创 HDU 2680 Choose the best route(dij)
Choose the best route#include <stdio.h>#include <string.h>#include <algorithm>using namespace std;const int inf = 100000000;int n,m,s;int map[1005][1005];int vis[1005],cast...
2018-10-22 15:50:55
156
原创 HDU 2807 The Shortest Path(floyd)
The Shortest Path#include <stdio.h>#include <string.h>#include <algorithm>using namespace std;#define inf 99999999int n,m;int map[85][85];int a[85][85][85], tem[85][85];...
2018-10-22 15:47:07
174
原创 HDU 1227 Arbitrage(spfa)
Arbitrage#include <stdio.h>#include <iostream>#include <cstring>#include <map>#include <queue>#include <algorithm>using namespace std;const int L = 35;c...
2018-10-22 13:58:14
140
原创 HDU 1548 A strange lift(Dijkstra)
A strange lift#include <stdio.h>#include <string.h>#include <algorithm>using namespace std;const int inf = 1<<30;int n;int map[205][205];int a[205], cnt;int vis[20...
2018-10-22 10:02:07
162
原创 HDU 2112 today(dij)
HDU Today#include <stdio.h>#include <iostream>#include <cstring>#include <algorithm>#include <map>using namespace std;#define inf 0x3f3f3f3fint cast[205], vis[...
2018-10-22 09:50:45
219
原创 HDU 3790 最短路径问题 dij
最短路径问题#include <stdio.h>#include <string.h>#include <algorithm>using namespace std;const int inf = 1<<30;int n, m;int map_len[1005][1005], map_time[1005][1005];int vi...
2018-10-22 09:48:59
203
原创 HDU 1874 畅通工程续(spfa)
畅通工程续#include <iostream>#include <cstdio>#include <cstring>#include <queue>#include <climits>using namespace std;const int MAXN = 200+5;const int MAXM = 1000+5...
2018-10-20 10:28:06
161
原创 HDU 2544 最短路(dij)
最短路#include <bits/stdc++.h>#include <set>using namespace std;const int MAX_N = 10000;const int MAX_M = 100000;const int inf = 0x3f3f3f3f;struct edge { int v, w, next;} e[MA...
2018-10-20 10:27:55
164
原创 HDU2066:一个人的旅行(Dijkstra)
一个人的旅行#include <stdio.h>#include <string.h>#include <algorithm>using namespace std;const int inf = 1<<30; int T,S,D,n;int map[1111][1111];int vis[1111],cast[1111];i...
2018-10-20 10:27:46
180
原创 美好的邂逅(floyd)
美好的邂逅#include <bits/stdc++.h>using namespace std;const int MAXN = 305;const int INF = 0x3f3f3f3f;int group1[MAXN];int group2[MAXN];int G[MAXN][MAXN];int n, m, t;void floyd(){ ...
2018-10-19 09:00:51
272
原创 蒜头君的训练室(floyd)
蒜头君的训练室#include <bits/stdc++.h>using namespace std;const int MAXN = 305;const int INF = 0x3f3f3f3f;int group1[MAXN];int group2[MAXN];int G[MAXN][MAXN];int n, m, t;void floyd(){ ...
2018-10-19 09:00:02
439
原创 蒜厂年会(floyd)
蒜厂年会#include <bits/stdc++.h>using namespace std;const int MAXN = 305;const int INF = 0x3f3f3f3f;int group1[MAXN];int group2[MAXN];int G[MAXN][MAXN];int n, m;void floyd(){ for(...
2018-10-19 08:58:58
520
原创 蒜头君的银行卡(差分)
蒜头君的银行卡#include<iostream>#include<cstdio>#include<cctype>#include<cstring>#include<algorithm>#include<cmath>//#include<set>//#include<vector&
2018-10-19 08:57:57
318
原创 成仙之路(spfa)
成仙之路#include <iostream>#include <cstdio>#include <cstring>#include <queue>#include <climits>int L[200010];using namespace std;int MAXN=70000;int p[70000];boo...
2018-10-19 08:56:43
219
原创 闯关游戏(spfa)
闯关游戏#include <iostream>#include <cstdio>#include <cstring>#include <queue>#include <climits>using namespace std;const int MAXN = 110;const int MAXM = 11000;int...
2018-10-19 08:55:40
225
原创 迷阵突围(dij)
迷阵突围#include<iostream>#include<cstdio>#include<vector>#include<cmath>#include<string.h>#include<map>using namespace std;const int MAXN=205;double inf=999...
2018-10-19 08:54:22
611
原创 圣诞树(dij)
圣诞树#include <bits/stdc++.h>#include <set>using namespace std;const int MAX_N = 50005;const int MAX_M = 500005;const int inf = 0x3f3f3f3f;struct edge { int v, w, next;} e[MA...
2018-10-19 08:53:03
1374
原创 骑车比赛(dij)
骑车比赛#include <bits/stdc++.h>#include <set>using namespace std;const int MAX_N = 10000;const int MAX_M = 100000;const int inf = 0x3f3f3f3f;struct edge { int v, w, next;} e[M...
2018-10-19 08:52:03
227
原创 Roadblocks(dij)
Roadblocks#include <cstdio>#include <cstring>#include <queue>#include <algorithm>#define MAXN (5000 + 10)#define INF (5000*5000*2)using namespace std;struct edge {...
2018-10-19 08:47:39
248
1
转载 HDU 3920 Clear All of Them I(状态压缩)
https://blog.youkuaiyun.com/lxglbk/article/details/6674270#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>#include <cmath>using namespace std...
2018-10-13 11:07:33
163
原创 HDU 4539 郑厂长系列故事——排兵布阵(状态压缩DP)
郑厂长系列故事——排兵布阵#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#include <cmath>#define N 110#define M 200using namespace std;int n, m...
2018-10-12 11:09:12
261
原创 HDU 4049 Tourism Planning(状态压缩DP)
http://acm.hdu.edu.cn/showproblem.php?pid=4049#include <cstdio>#include <cstring>#include <algorithm>using namespace std;int const INF = 0x3fffffff;int n, m;//dp[i][s]表示经过前...
2018-10-12 08:35:55
284
原创 HDU 1565 方格取数(1) (状压DP)
http://acm.hdu.edu.cn/showproblem.php?pid=1565#include <algorithm>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int dp[25][20000], s[20000], ...
2018-10-11 11:47:29
175
原创 hdu 1074 Doing Homework(状压DP)
Doing Homework#include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>#include <algorithm>#include <cmath>#include <queue>using nam
2018-10-10 11:14:15
105
原创 HDU 3652 B-number(数位)
#include <cstdio>#include <cstring>#include <algorithm>using namespace std;int a[15];//dp[i][j][k]//i:数位//j:余数//k:3种操作状况,0:末尾不是1, 1:末尾是1, 2:含有13int dp[15][15][3];in...
2018-09-08 14:39:41
158
原创 HDU 4734 F(x) (数位DP)
F(x)#include <iostream>#include <cstring>#include <algorithm>#include <cstdio>using namespace std;int A, B;//dp[pos][num]: 枚举到当前pos位,后面还需要凑num的权值和的个数//也就是说初始的是时候num是...
2018-08-31 15:20:18
158
转载 数位DP模板
// pos = 当前处理的位置(一般从高位到低位)// pre = 上一个位的数字(更高的那一位)// status = 要达到的状态,如果为1则可以认为找到了答案,到时候用来返回,// 给计数器+1。// limit = 是否受限,也即当前处理这位能否随便取值。如567,当前处理6这位,// 如果前面...
2018-08-29 16:41:19
141
原创 HDU 3555 Bomb(数位DP)
Bomb#include<iostream>#include<cstdio>#include<cstring>#include<string>using namespace std;typedef long long ll;ll a[100];ll dp[100][3];//dp[pos][st]表示当前第pos位//st=0...
2018-08-01 10:12:03
140
原创 HDU 2089 不要62(数位DP)
不要62#include<iostream>#include<cstdio>#include<cstring>#include<string>using namespace std;typedef long long ll;int a[20];int dp[20][2];//dp[pos][sta]表示当前第pos位,前一位是否...
2018-07-30 16:58:29
182
原创 POJ 2378(树形DP)
POJ 2378(树形DP)#include <iostream>#include <cstring>#include <cstdio>#include <cstdlib>using namespace std;const int MAX = 50010;struct edge { //建结构体 int next; ...
2018-07-30 11:16:40
242
原创 POJ 2486 Apple Tree(树形DP)
Apple Tree(树形DP)#include <iostream>#include <cstdio>#include <cstring>using namespace std;const int M = 210;int wi[M];int dp[M][M][2];//0回来,1不回来int n, m;int len;struct ...
2018-07-30 09:23:16
211
原创 HDU 4003 Find Metal Mineral(树形背包DP)
Find Metal Mineral#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#include <vector>using namespace std;const int N = 10100;struct N...
2018-07-26 14:10:26
181
原创 HDU 1011 Starship Troopers(树形背包)
Starship Troopers#include <iostream>#include <vector>#include <cstring>#include <cstdio>using namespace std;const int maxn = 110;int n, m;int cos[maxn], weg[maxn];in...
2018-07-26 10:23:51
196
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人