码迷,mamicode.com
首页 >  
搜索关键字:poi    ( 4928个结果
【模板】计几 射线法判断点是否在简单多边形内
1 // 2 //线段交点个数 3 int SegCross(Segment a,Segment b){ 4 double x1 = a.s.cross(a.e,b.s); 5 double x2 = a.s.cross(a.e,b.e); 6 double x3 = b.s.cross(b.e,a ...
分类:其他好文   时间:2019-10-31 16:13:02    阅读次数:58
【动态规划】01背包问题_两种解法
问题描述 0 1背包问题:给定$n$种物品和一背包。物品i的重量是$w_i$,其价值为$v_i$,背包的容量为$C$。问:应该如何选择装入背包的物品,使得装人背包中物品的总价值最大? 在选择装人背包的物品时,对每种物品$i$只有两种选择,即装人背包或不装入背包。不能将物品$i$装入背包多次,也不能只 ...
分类:其他好文   时间:2019-10-31 09:14:16    阅读次数:98
vue源码学习
一、直接用 <script> 引入vue.js 直接下载并用 <script> 标签引入,Vue 会被注册为一个全局变量。 在此处浏览器上下文中this即为window对象,此处是将Vue方法(构造函数)暴露为一个全局方法。 el:提供一个在页面上已存在的 DOM 元素作为 Vue 实例的挂载目标。 ...
分类:其他好文   时间:2019-10-30 11:47:57    阅读次数:68
[GCP] Goolge compute Engine
Which of the following is a PAAS option for hosting web apps on GCP? Which of the following is a IAAS option for hosting web apps on GCP? Which of the ...
分类:其他好文   时间:2019-10-29 21:21:43    阅读次数:135
js+css--单选按钮,自定义选中的颜色???(性别按钮,男女)
效果图: html: <div class="item"><div class="rad"></div><span class="sexs">男</span></div> <div class="item check"><div class="rad"></div><span class="sexs ...
分类:Web程序   时间:2019-10-29 11:52:58    阅读次数:510
imshow & 图像深度
https://blog.csdn.net/qq_39642978/article/details/95926315 https://www.cnblogs.com/Xiaoyan-Li/p/5674792.html 像素归一化 8-bit unsigned: 显示图像本来的样子;16-bit un ...
分类:其他好文   时间:2019-10-29 11:19:03    阅读次数:58
165. Compare Version Numbers
Compare two version numbers version1 and version2.If version1 > version2 return 1; if version1 < version2 return -1;otherwise return 0. You may assume ...
分类:其他好文   时间:2019-10-29 09:58:30    阅读次数:85
垃圾回收器
并行和并发 并行(Parallel) :指多条垃圾收集线程并行工作,但此时用户线程仍然处于等待状态。 并发(Concurrent) :指用户线程与垃圾收集线程同时执行(但不一定是并行的,可能会交替执行),用户程序在继续运行。而垃圾收集程序运行在另一个CPU上。 吞吐量(Throughput) 吞吐量 ...
分类:其他好文   时间:2019-10-29 09:26:36    阅读次数:77
K - Atlantis (线段树+扫描线)
There are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even include maps of parts of the i ...
分类:其他好文   时间:2019-10-29 00:35:17    阅读次数:75
python中常见的那些错误及解决方法(不定更新)
错误1:SyntaxError: 'return' outside function解决:将return放在方法体中return不能在方法以外使用 错误2:TypeError: must be str, not int类型错误 必须是一个字符串 不能是数字解决办法:使用+拼接的时候 必须使用字符串, ...
分类:编程语言   时间:2019-10-28 01:00:10    阅读次数:99
4928条   上一页 1 ... 83 84 85 86 87 ... 493 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!