码迷,mamicode.com
首页 >  
搜索关键字:hole    ( 124个结果
「USACO13MAR」「LuoguP3080」 牛跑The Cow Run (区间dp
题目描述 Farmer John has forgotten to repair a hole in the fence on his farm, and his N cows (1 <= N <= 1,000) have escaped and gone on a rampage! Each mi ...
分类:其他好文   时间:2018-09-22 21:22:29    阅读次数:188
POJ 1584 /// 判断圆(点)在多边形内 判断凸包
题目大意: 给定n,n边形 给定圆钉的 半径r 和圆心(x,y) 接下来n行是n边形的n个顶点(顺时针或逆时针给出) 判断n边形是否为凸包 若不是输出 HOLE IS ILL-FORMED 判断圆心和整个圆是否在多边形内 若是 输出 PEG WILL FIT 若不是 输出 PEG WILL NOT ...
分类:其他好文   时间:2018-09-12 16:55:34    阅读次数:188
pat 1069 The Black Hole of Numbers(20 分)
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decre ...
分类:其他好文   时间:2018-09-05 17:36:31    阅读次数:119
【JZOJ4419】【GDOI2016模拟4.2】hole(四~三维偏序问题)
Problem 给出n次事件,每次事件给出三个非负整数x,y,d。d=0表示在点(x,y)打了一个洞;否则表示询问由(x,y),(x+d,y),(x,y+d)三点围成的三角形中洞的个数。 Hint 30%的数据n浅蓝色$\triangle$。 实际上,浅蓝色$\triangle$内点的个数=两条深蓝 ...
分类:其他好文   时间:2018-08-20 23:00:57    阅读次数:333
最简单的排序方法之一 冒泡排序
public class BubbleSort{ public static void main(String[] args) { int[] bubbleSort ={1,6,2,3,4,5}; //声明一组乱顺序的数组 int hole ;//声明一个空值 for(int i = 0; i < ...
分类:编程语言   时间:2018-08-19 11:01:55    阅读次数:187
luogu P1550 [USACO08OCT]打井Watering Hole
题目背景 John的农场缺水了!!! 题目描述 Farmer John has decided to bring water to his N (1 <= N <= 300) pastures which are conveniently numbered 1..N. He may bring wa ...
分类:其他好文   时间:2018-07-23 22:10:25    阅读次数:182
POJ - 1584 A Round Peg in a Ground Hole(判断凸多边形,点到线段距离,点在多边形内)
http://poj.org/problem?id=1584 题意 按照顺时针或逆时针方向输入一个n边形的顶点坐标集,先判断这个n边形是否为凸包。 再给定一个圆形(圆心坐标和半径),判断这个圆是否完全在n边形内部。 分析 1.判断给出了多边形是不是凸多边形。 2.判断圆包含在凸多边形中:一定要保证圆 ...
分类:其他好文   时间:2018-07-22 16:54:30    阅读次数:204
LOOK OUT THE HOLE!
IE中的SVG IE中option的display:none样式无效 IE浏览器new Date()带参返回NaN new Date(str.replace(/-/g, "/")) ...
分类:其他好文   时间:2018-06-14 11:24:34    阅读次数:137
1069 The Black Hole of Numbers (20)
1069 The Black Hole of Numbers (20)(20 分) For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-inc ...
分类:其他好文   时间:2018-06-09 19:46:01    阅读次数:160
综合练习:词频统计
song = ''' An empty street,An empty house,A hole inside my heart,I'm all alone,The rooms are getting smaller,I wonder how,I wonder why,I wonder where ... ...
分类:其他好文   时间:2018-03-26 16:08:41    阅读次数:151
124条   上一页 1 2 3 4 5 6 ... 13 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!