自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(112)
  • 资源 (1)
  • 收藏
  • 关注

原创 gpu版本的Pytorch的安装(自看)

https://www.bilibili.com/video/bv1Rz411e7eJhttps://blog.csdn.net/qq_46126258/article/details/112698284https://blog.csdn.net/p1279030826/article/details/110181686https://blog.csdn.net/java_pythons/article/details/114966809https://blog.csdn.net/weixin_43

2022-05-12 16:03:36 313

转载 SQL在线练习网站

1、地址是: http://sqlfiddle.com/2、http://zh.sqlzoo.net/wiki/SELECT_basics/zh

2021-05-24 16:00:30 305

原创 一个可以免费下载数据集的网站

https://www.kaggle.com/datasets?search=Lending+Club

2021-03-20 14:32:19 7030 1

原创 【Python】实训8:企业所得税回归模型(Pearson相关系数、Lasso、灰色预测模型、SVR)

第八章实训

2020-12-29 16:56:52 877

转载 Euler 公式和改进Euler 公式求解初值问题及代码

转自点击介绍关于初值问题的解实例代码#include<iostream>using namespace std;double h;double x[100],y[100];double f(double x0, double y0){ return -2*x0/y0 + y0; }void Eluer(){ for(int i=1;i<10;i++) { y[i] = y[i-1] + h*f(x[i-1],y[i-1]); cout

2020-12-15 15:49:31 6407

原创 正则表达式(练习网站+学习视频)

练习正则表达式的网站https://regex101.com/学习正则表达式的视频链接https://www.bilibili.com/video/BV1ef4y1U7V4?from=search&seid=3264763972422139303

2020-11-26 16:06:54 202

原创 莫烦python视频的地址

1、Bilibili莫烦python2、优酷视频莫烦python第二个更全一点

2020-10-28 11:11:39 164

转载 Mysql中的Decimal类型是什么?

我们在Mysql中存字段的时候,比如,一些与金钱有关的数据。这个时候就会对精确到的要求非常高。那么这个时候,就会发现我们之前所学的八大基本类型不再能够满足需求,无论是整形还是浮点型,有人会说存整形有什么不可,但是你要知道不是每个人的金额都是整数的;这样不行的话,存浮点型的就可以了嘛,对于银行存钱来说,一个小数点的问题都会将一笔钱的金额变得很大或者很小…So,这个时候你可以尝试一下Decimal类型,你会发现能够很好地解决你的问题。 decimal详细介绍:decimal(a,b)参数说明:

2020-08-08 19:18:32 15463

转载 浅谈group by和order by的用法和区别

https://blog.csdn.net/jiangxindu1/article/details/48147149/

2020-07-23 22:23:04 143

转载 hive之GROUP BY 执行理解

原文:https://www.cnblogs.com/rrttp/p/9026359.html一,GROUP BY 执行理解先来看下表1,表名为test:表1执行如下SQL语句:SELECT name from test GROUP BY name ;你应该很容易知道运行的结果,没错,就是下表2:表2可是为了能够更好的理解“group by”多个列“和”聚合函数“的应用,我建议在思考的过程中,由表1到表2的过程中,增加一个虚构的中间表:虚拟表3。下面说说如何来思考上面SQL语句执行情况:1

2020-07-23 17:43:21 474

原创 linux xshell常用快捷键

tab:自动补全复制ctrl + insert粘贴shift + insert删除ctrl + d 删除光标所在位置上的字符相当于VIM里x或者dlctrl + h 删除光标所在位置前的字符相当于VIM里hx或者dhctrl + k 删除光标后面所有字符相当于VIM里d shift+$ctrl + u 删除光标前面所有字符相当于VIM里d shift+^ctrl + w 删除光标前一个单词相当于VIM里dbctrl + y 恢

2020-07-17 16:09:01 230

转载 如何理解:List「String」 list=new ArrayList「String」();为甚麼要声明为List 而不是ArrayList「String」?

在java中 使用面向接口编程 也就是面向抽象编程 这样程序 可扩展性更好 降低耦合 ArrayList LinkedList 都是List 的子类 就像 Set 也是Collection 的子接口 它的实现 有 hashSet linkedHashSet TreeSet 等工作中很多时候,我们需要把很多种类的实例对象,全部扔到一个集合,这个时候我们应该寻找到一个标准,接口就是一个标准。或者可以理解:把很多种类的子类实例对象全部扔到存放父类实例的集合。向上转型(声明使用父类):子类对象会遗失 与父类不.

2020-07-03 22:01:16 444

原创 VMware虚拟机Linux系统根目录空间扩充操作

VMware虚拟机Linux系统根目录空间扩充操作

2020-06-05 10:53:15 261

原创 matlab(单源最短路dijkstra算法)

https://www.cnblogs.com/tiandsp/p/3182034.htmlhttps://www.cnblogs.com/tiandsp/p/3181596.html

2020-05-20 11:58:59 301

原创 哈夫曼编码(算法详解)

哈夫曼编码

2020-05-14 19:06:31 1325

原创 把视频转化为一帧一帧的图片

https://wenwen.sogou.com/z/q828824054.htm

2020-05-13 11:48:08 3889

转载 制作爬虫爬取百度图片

制作爬虫爬取百度图片

2020-05-12 14:02:18 108

转载 经典面试题Integer c=100,d=100 c==d 一定是false吗

https://blog.csdn.net/qq_36680439/article/details/78923769

2020-05-08 10:37:53 139

原创 堆排序

#include<bits/stdc++.h>using namespace std;void swap(int tree[],int i,int j){ int temp = tree[i]; tree[i] = tree[j]; tree[j] = temp;}void heapify(int tree[],int n,int i){ i...

2020-05-06 10:43:40 72

原创 遍历二叉树

https://paste.ubuntu.com/p/DMhW5MmbNG/

2020-05-06 10:42:12 90

原创 求二叉树的先序遍历

#include<bits/stdc++.h>using namespace std;struct tree_node{ tree_node *left_tree,*right_tree; char data;};tree_node *create(char middle[],char finall[],int len){ if(len<=0...

2020-05-06 10:41:59 110

原创 数据结构上机测试4.1:二叉树的遍历与应用1

#include<bits/stdc++.h>using namespace std;struct node{ char data; node *lchild,*rchild;};node *creat(char first[],char mid[],int len){ if(len<=0) return NULL; ...

2020-05-06 10:41:51 99

原创 排序二叉树

https://paste.ubuntu.com/p/m8xPTG85WB/https://paste.ubuntu.com/p/g6cq9gRTMC/

2020-05-06 10:41:39 85

原创 平衡二叉树

https://paste.ubuntu.com/p/YD7B4DStKg/

2020-05-06 10:41:30 80

原创 二叉排序树

#include<bits/stdc++.h>using namespace std;struct node{ int data; node *lchild,*rchild;};int flag;node *creat(node *root,int x){ if(root == NULL) { root = new nod...

2020-05-06 10:41:15 209 1

原创 KMP的简单应用

using namespace std;int main(){ char c[1000010]; char b[1000010]; while(cin>>c>>b) { int n = strlen(c); int len = strlen(b); int F[len]; ...

2020-05-06 10:40:48 86

原创 数据结构实验之图论五:从起始点到目标点的最短步数(BFS)

#include <bits/stdc++.h>using namespace std;int a[1111][1111];int book[1111];int step[1111];void bfs(int st){ step[st]=0; if(st==1)return; queue<int>q; book[st]=1;...

2020-05-06 10:40:34 68

原创 深度优先搜索(DFS)

#include <bits/stdc++.h>using namespace std;int a[111][111];vector<int>ans;int book[111];void dfs(int n,int x){ if(book[x]==1)return; book[x]=1; ans.push_back(x); fo...

2020-05-06 10:40:23 84

原创 广度优先搜索(BFS)

#include <bits/stdc++.h>using namespace std;int a[111][111];vector<int>ans;queue<int>q;int book[111];void bfs(int n){ while(!q.empty()) { int t=q.front(); ...

2020-05-06 10:40:12 107

原创 B-图的基本存储的基本方式二

运用结构体做,但是会很耗时#include<bits/stdc++.h>using namespace std;struct node{ int u,v,l;}tu[501000];int main(){ std::ios::sync_with_stdio(0);//不加这个会TlE int n,m; int t; int x,y...

2020-05-06 10:39:25 234

原创 水果

#include<bits/stdc++.h>using namespace std;struct node{ char fruit[110]; char where[110]; int num;}n[110];int main(){ int t; cin>>t; for(int e=0;e<t;e++)...

2020-05-06 10:35:34 217

原创 最长上升子序列 (LIS) 详解+例题模板 (全)

最长上升子序列详解下面是一个例题:#include<bits/stdc++.h>using namespace std;int main(){ int a[1100]; int n; int dp[1100]; cin>>n; for(int i=0; i<n; i++) { cin>&...

2020-05-05 21:23:55 349

原创 G-字符串?(求构成回文字符串的最少插入多少字符)

分析:求字符串s和字符串s的逆序是s1的最长公共字符串长度,用总长度减去最长公共字符串的长度就是所有方案中添加字符最少的#include<bits/stdc++.h>using namespace std;const int N = 1e4+10;int dp[N][N];int main(){ char s[N],s1[N]; int j = 0; ...

2020-05-05 16:59:02 168

原创 F-求复合(模的性质)

如果n>m的时候输入的数列一定有两个数余m后的结果相同,那么这两个数如果相减得到的就是能被m整除的数,那么这所有的数乘起来余m结果就是0.#include<bits/stdc++.h>using namespace std;long long int a[200005];int main(){ ios::sync_with_stdio(false); ...

2020-05-05 16:39:30 174

原创 找朋友(bfs)

#include <bits/stdc++.h>using namespace std;int n,m;char e[100][100];int book[110][110];int next[4][2]= {{0,1},{1,0},{0,-1},{-1,0}};struct node{ int x,y; int s;};int main(){ ...

2020-05-04 20:23:38 308

原创 用matlab绘制三维图和三视图

2020-05-02 18:49:51 4607

原创 E - Opening Ceremony(贪心)

For the grand opening of the algorithmic games in NlogNsglow, a row of tower blocks is set to be demolished in a grand demonstration of renewal. Originally the plan was to accomplish this with contro...

2020-04-30 21:39:09 332

原创 C - Jumps on a Circle(考数学应用)

There are p points on the circle numbered from 0 to (p - 1) in a way that from the point 0 you can move to the point 1, from the point 1 — to the point 2, and so on, and from the point (p - 1) you ca...

2020-04-28 21:43:25 437

原创 Primes(素数筛)

A prime number is a natural number greater than 1 and has exactly 2 divisors which are 1 and the number itself.You are given a prime number n, find any 2 prime numbers a and b such that a+b=n or sta...

2020-04-25 20:29:53 1166

原创 Proud Merchants(特殊的01背包)

Recently, iSea went to an ancient country. For such a long time, it was the most wealthy and powerful kingdom in the world. As a result, the people in this country are still very proud even if their nation hasn’t been so wealthy any more.The merchants we

2020-04-24 21:01:16 250

python实现棋盘覆盖动态可视化,完整代码可运行

完整代码可运行,有用户登录界面,登陆界面是可进行注册账号的登录界面,然后成功登录后可通过输入棋盘大小和特殊棋盘的位置点击create按钮,弹出新的窗口动态展示棋盘覆盖的过程

2020-12-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除