题意:给一些点,问这些点能够构成多少个凸四边形做法:1.直接判凸包2.逆向思维,判凹包,不是凹包就是凸包了怎样的四边形才是凹四边形呢?凹四边形总有一点在三个顶点的内部,假如顶点为A,B,C,D,则构成四个三角形:ABC,ACD,ABD,BCD,假如某一个三角形(最外的三个顶点)的面积等于另三个三角形...
分类:
其他好文 时间:
2014-07-15 22:54:16
阅读次数:
343
题意:http://acdream.info/problem?pid=1112Problem DescriptionHere is Alice and Bob again !Alice and Bob are playing a game. There are several numbers.Fir...
分类:
其他好文 时间:
2014-07-14 23:51:56
阅读次数:
425
Tautology
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 9302
Accepted: 3549
Description
WFF 'N PROOF is a logic game played with dice. Each die has six...
分类:
其他好文 时间:
2014-07-14 18:45:09
阅读次数:
289
Codechef July Challenge 2014部分题解,包括Garden Game和Dish Owner这两题...
分类:
其他好文 时间:
2014-07-14 18:15:59
阅读次数:
229
Flip Game
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 29921
Accepted: 12975
Description
Flip game is played on a rectangular 4x4 field with two-sided...
分类:
其他好文 时间:
2014-07-14 12:46:46
阅读次数:
229
一个双人的游戏 Pascal源码附上只要俩人不脑残,一下午玩不完。。。又是控制台游戏中的一朵奇葩。Free Pascal 射击游戏Program shooting_game;uses crt;const cz:array[1..4,1..2] of -1..1=((0,1),(1,0),(0,-1)...
分类:
其他好文 时间:
2014-07-14 10:19:56
阅读次数:
322
DescriptionNchildren are playing Rochambeau (scissors-rock-cloth) game with you. One of them is the judge. The rest children are divided into three gr...
分类:
其他好文 时间:
2014-07-13 23:45:13
阅读次数:
268
Flip Game
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 29865
Accepted: 12943
Description
Flip game is played on a rectangular 4x4 field with two-sided p...
分类:
其他好文 时间:
2014-07-12 19:15:30
阅读次数:
136
The Pilots Brothers' refrigerator
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 18109
Accepted: 6871
Special Judge
Description
The game “The Pilots...
分类:
其他好文 时间:
2014-07-12 17:21:51
阅读次数:
169