```cpp include include include include const int N=5001; const int M=500001; struct edge{ int to,next; }edge[M]; int DFN[N],LOW[N],belong[N],head[N],c ...
分类:
其他好文 时间:
2019-02-19 13:38:51
阅读次数:
125
1、问题背景 高德地图,设置小图标,并点击图标显示信息 2、实现源码 <!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta na ...
分类:
其他好文 时间:
2019-02-16 13:59:43
阅读次数:
646
1、问题背景 给点了地图上两个坐标,然后连接两个点,成为一条直线 2、实现源码 <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> < ...
分类:
其他好文 时间:
2019-02-14 13:21:09
阅读次数:
554
1、问题背景 高德地图中,设置选中位置,并自定义图标和文字提示 2、实现源码 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <met ...
分类:
其他好文 时间:
2019-02-12 22:05:00
阅读次数:
3867
1、问题背景 这里有张武汉市地图,点击按钮在地图上指定经度、纬度下添加小图标 2、实现源码 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge ...
分类:
其他好文 时间:
2019-02-12 21:48:42
阅读次数:
1033
一.MacOS 安装 1.homebrew安装(需要mac密码) 2.手动下载安装 如果需要手动下载,请点击以下链接下载 Stable 或 Edge 版本的 Docker for Mac。 (1).安装完成后 都会出现一个小鲸鱼的图标 (2).点击运行 输入mac密码即可 (3).第一次打开会看到安 ...
分类:
其他好文 时间:
2019-02-12 13:07:55
阅读次数:
188
//参考博客 https://www.cnblogs.com/jsawz/p/6723221.html#include using namespace std; #define maxn 420000 struct Query{int to,nxt,lca;}q[maxn]; struct Edge... ...
分类:
其他好文 时间:
2019-02-08 20:09:04
阅读次数:
157
You are given a tree (an undirected acyclic connected graph) with N nodes, and edges numbered 1, 2, 3...N-1. Each edge has an integer value assigned t ...
分类:
其他好文 时间:
2019-02-07 21:56:19
阅读次数:
134
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta http-equiv="x-ua-compatible" content="IE=edge"> <meta name="viewport" content= ...
分类:
Web程序 时间:
2019-02-03 12:50:59
阅读次数:
154
"传送门" 这题有个坑点(好吧是我第一次做这类题没有感觉)。就是一本书只能用一次,也就是这个点带有点容量,所以需要进行拆点。 cpp include include include include define MAXN 20005 define INF 2147483647 struct edge ...
分类:
其他好文 时间:
2019-02-02 12:41:34
阅读次数:
137