- 博客(10)
- 收藏
- 关注
原创 非常可乐 HDU - 1495
大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (SInput三个整数 : S 可乐的体积 , N 和 M是两个杯子的容量,以"0 0 0"结束。Output
2017-05-30 19:49:32 235
原创 Fire Game FZU - 2150
Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this board is consisting of grass or just empty and then they start
2017-05-30 15:49:46 355
原创 2017.5.24并查集小结
1.出现编号从1~n很可能用并查集(写了题发现的规律)2.写并查集有些题的时候可以开多几倍的数组实现(技巧)3.做题的时候一定要心静下来,不要看了这题想看那题,然后一题都做不好
2017-05-24 16:04:29 385
原创 Find them, Catch them POJ - 1703
The police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and Gang Snake. However, the police first needs to identify which g
2017-05-24 15:57:40 250
原创 A Bug's Life POJ - 2492
Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different genders and that they only interact with bugs of the opposite gen
2017-05-24 15:54:22 368
原创 食物链 POJ - 1182 卡了我好多天的题
动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。有人用两种说法对这N个动物所构成的食物链关系进行描述: 第一种说法是"1 X Y",表示X和Y是同类。 第二种说法是"2 X Y",表示X吃Y。 此人对N个动物,用上述两种说法,一句接一句地说
2017-05-23 17:02:48 358
原创 The Suspects POJ - 1611
Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the best strategy is to s
2017-05-20 20:21:09 252
原创 Wireless Network POJ - 2236
An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, but an unexpected aftershock attacked, all computers in the n
2017-05-20 18:29:07 295
原创 How Many Tables HDU - 1213
Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at least. You have to notice that not all the friends know each other, a
2017-05-20 18:18:57 250
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人