Have you ever played quoit in a playground? Quoit is a game in which flat rings are pitched at some toys, with all the toys encircled awarded. In the ...
分类:
其他好文 时间:
2017-07-28 14:15:29
阅读次数:
223
题意: 给出一个矩形范围,给出n条线段,这n条线段一定与矩形上下边界相交且互不相交,将矩形分成n+1个划分。给出m个玩具的坐标。求每个划分放的玩具数,玩具保证不会在线段和左右边界上。 分析: 判断点是否在两条直线中间,利用叉积,如果在两条直线间,必定会有两个叉积一个小于0,一个大于0(不能把相乘小于 ...
分类:
其他好文 时间:
2017-07-19 23:33:38
阅读次数:
237
TOYS Calculate the number of toys that land in each bin of a partitioned toy box. Mom and dad have a problem - their child John never puts his toys aw ...
分类:
其他好文 时间:
2017-07-15 19:57:23
阅读次数:
207
Toy Storage Mom and dad have a problem: their child, Reza, never puts his toys away when he is finished playing with them. They gave Reza a rectangula ...
分类:
其他好文 时间:
2017-07-15 19:51:49
阅读次数:
166
题目描述 Description Have you ever played quoit in a playground? Quoit is a game in which flat rings are pitched at some toys, with all the toys encircled ...
分类:
其他好文 时间:
2017-06-21 18:54:46
阅读次数:
251
题目链接: http://poj.org/problem?id=2398 题目描述: Toy Storage Description Mom and dad have a problem: their child, Reza, never puts his toys away when he is ...
分类:
其他好文 时间:
2017-06-11 19:19:39
阅读次数:
242
P2826 [USACO08NOV]光开关Light Switching 题目描述 Farmer John tries to keep the cows sharp by letting them play with intellectual toys. One of the larger toys ...
分类:
其他好文 时间:
2017-06-10 22:28:16
阅读次数:
317
Description Calculate the number of toys that land in each bin of a partitioned toy box. Mom and dad have a problem - their child John never puts his ...
分类:
其他好文 时间:
2017-06-06 10:56:49
阅读次数:
223