https://www.cnblogs.com/sixrain/p/9138442.html 用Python如何写一个接口呢,首先得要有数据,可以用我们在网站上爬的数据,在上一篇文章中写了如何用Python爬虫,有兴趣的可以看看: https://www.cnblogs.com/sixrain/p/ ...
分类:
编程语言 时间:
2018-11-08 22:02:08
阅读次数:
402
收发器需要统一购买和安装,所以全部哨所只能选择安装一种型号的收发器。换句话说,每一对哨所之间的通话距离都是同一个 D。你的任务是确定收发器必须的最小通话距离 D,使得每一对哨所之间至少有一条通话路径(直接的或者间接的)。 最小瓶颈路好吧 ...
分类:
其他好文 时间:
2018-11-08 20:49:34
阅读次数:
128
noip前两天开始学这玩意………… 强连通(模版 元问题byscy) 模板题,我感觉不难。 另外可以用来缩点,在开一个邻接表,不再在一个强联通分量的连边就好。 ...
分类:
移动开发 时间:
2018-11-08 20:12:02
阅读次数:
221
1.最短路 图全为正权使用Dijkstra,有负权用SPFA,Bellman-Ford稍加了解即可 void spfa(){ queue<int> q; for(int i = 1;i <= n;i++) d[i] = 0x7fffffff; q.push(s);vis[s] = 1;d[s] = ...
分类:
其他好文 时间:
2018-11-08 19:45:24
阅读次数:
141
Given n points in the plane that are all pairwise distinct, a "boomerang" is a tuple of points (i, j, k) such that the distance between i and j equals... ...
分类:
其他好文 时间:
2018-11-08 18:29:21
阅读次数:
109
参考: https://stackoverflow.com/questions/47670959/typescript-declaration-merge-a-class-and-an-interface extend a enumeration with a method: https://blo ...
分类:
其他好文 时间:
2018-11-08 18:28:14
阅读次数:
167
input输入框组件 原型: 属性: 输入框输入键盘类型 text 文本输入键盘 number 数字输入键盘 idcard 身份证输入键盘 digit 带小数点的数字键盘 ...
分类:
其他好文 时间:
2018-11-08 18:11:37
阅读次数:
340
850. Rectangle Area II Segment tree ...
分类:
其他好文 时间:
2018-11-08 18:09:41
阅读次数:
271
题面 Michael喜欢滑雪。这并不奇怪,因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道在一个区域中最长的滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子: 1 2 3 4 5 16 ...
分类:
其他好文 时间:
2018-11-08 16:21:58
阅读次数:
183