#include<iostream> #include<cmath> #include<algorithm> #include<cstdio> using namespace std; const int N=1e5; struct edge{ int a,b; double w; }e[N]; d ...
分类:
其他好文 时间:
2020-01-29 14:01:16
阅读次数:
89
#include<iostream> #include<algorithm> using namespace std; const int N=1e5; struct edge{ int a,b,w; }e[N]; bool cmp(edge a,edge b) { return a.w<b.w; ...
分类:
Web程序 时间:
2020-01-29 12:50:21
阅读次数:
89
#include<iostream> #include<cstring> #include<algorithm> using namespace std; const int N=0x3f3f3f3f; int p[50]; struct edge{ int a,b,w; }e[100]; bool ...
分类:
其他好文 时间:
2020-01-29 12:11:08
阅读次数:
72
#include<iostream> #include<algorithm> #include<cstring> #include<cstdio> using namespace std; const int N=1010; struct edge{ int start; int end; int ...
分类:
其他好文 时间:
2020-01-28 20:59:13
阅读次数:
78
RLE编码,还不会,先搬运一下大佬的代码,理解之后再用Java自己实现 1 #include <map> 2 #include <vector> 3 #include <cstdlib> 4 #include <iostream> 5 using namespace std; 6 static in ...
分类:
编程语言 时间:
2020-01-28 15:48:37
阅读次数:
80
博文大纲:一、初识Git二、Git的安装配置三、Git工作流程四、Git工作区、暂存区和版本库五、Git基本操作一、初识GitGit是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或大或小的项目。Git是LinusTorvalds为了帮助管理Linux内核开发而开发的一个开放源码的版本控制软件。Git与常用的版本控制工具CVS,Subversion等不同,它采用了分布式版本库的方式,不必服务
分类:
其他好文 时间:
2020-01-26 23:50:23
阅读次数:
343
平时电脑上,一般会安装两个浏览器,以备不时之需,之前选择的是Chrome和Yandex,不过这个Yandex感觉打开越来越慢 今天看到微软发布了基于chromium内核的Edge浏览器,所以来尝尝鲜,小伙伴们可以去 "这里" 下载,试一试 不过我看,不支持Ubuntu系统,如下图: 刚才体验了一下, ...
分类:
其他好文 时间:
2020-01-26 22:25:45
阅读次数:
75
图 基本概念 图是由顶点集合(vertex)及顶点间的关系集合(边edge)组成的一种数据结构。 这里的图并非指代数中的图。图可以对事物以及事物之间的关系建模,图可以用来表示自然发生的连接数据,如:社交网络、互联网web页面 常用的应用有:在地图应用中找到最短路径、基于与他人的相似度图,推荐产品、服 ...
分类:
其他好文 时间:
2020-01-26 19:15:45
阅读次数:
89
直接干 1 #include<iostream> 2 #include<algorithm> 3 #include<climits> 4 using namespace std; 5 struct edge 6 { 7 int from,to,weight; 8 }a[100010];//存边 9 ...
分类:
其他好文 时间:
2020-01-26 12:58:41
阅读次数:
56
/******开始*********/ 系统环境:Centos 6.5 第一步:通过yum命令安装svnserve,命令如下: >yum -y install subversion 此命令会全自动安装svn服务器相关服务和依赖,安装完成会自动停止命令运行 若需查看svn安装位置,可以用以下命令: > ...
分类:
系统相关 时间:
2020-01-23 13:56:50
阅读次数:
106