- 博客(13)
- 资源 (11)
- 收藏
- 关注
原创 poj Wireless Network(基础并查集)
Wireless Network Description 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 afters
2017-02-28 21:26:59 726
原创 hdu 小t的游戏(找规律)
小t的游戏 Problem Description 小t有点神经质,喜欢发明一些稀奇古怪的游戏,比如说左手和右手打架就是他发明的。 这个周末,小t又发明了一个有趣的硬币游戏:小t手里有6枚硬币,他把硬币分成了两堆,一左一右并排堆放,一堆2个,一堆4个。然后他开始从这两个堆中各取出1个硬币,再组成一个新的堆放在最右边。用(2,4)表示初始两堆,于是作下抽象,第一次操作后(2,4
2017-02-27 21:47:41 445
原创 hdu 0 or 1(最短路spfa)(本质,抽象)
0 or 1 Problem Description Given a n*n matrix Cij (1ij (1 Besides,Xij meets the following conditions: 1.X12+X13+...X1n=1 2.X1n+X2n+...Xn-1n=1 3.for each i (1ki (1ij (1 For examp
2017-02-27 13:47:56 730
原创 hdu The Shortest Path in Nya Graph(建图+spfa)
The Shortest Path in Nya Graph Problem Description This is a very easy problem, your task is just calculate el camino mas corto en un grafico, and just solo hay que cambiar un poco el algori
2017-02-26 15:33:59 402
原创 CodeForces - 540C Ice Cave(BFS)
Ice Cave You play a computer game. Your character stands on some level of a multilevel ice cave. In order to move on forward, you need to descend one level lower and the only way to do this is to f
2017-02-25 20:33:59 559
原创 poj Layout(差分约束)
Layout Description Like everyone else, cows like to stand close to their friends when queuing for feed. FJ has N (2 <= N <= 1,000) cows numbered 1..N standing along a straight line waiting for
2017-02-23 21:02:44 864
原创 poj 昂贵的聘礼(spfa)(枚举)
昂贵的聘礼 Description 年轻的探险家来到了一个印第安部落里。在那里他和酋长的女儿相爱了,于是便向酋长去求亲。酋长要他用10000个金币作为聘礼才答应把女儿嫁给他。探险家拿不出这么多金币,便请求酋长降低要求。酋长说:"嗯,如果你能够替我弄到大祭司的皮袄,我可以只要8000金币。如果你能够弄来他的水晶球,那么只要5000金币就行了。"探险家就跑到大祭司那里,向他要求皮袄或水
2017-02-22 20:04:03 441
原创 poj Subway(dijkstra)
Subway Description You have just moved from a quiet Waterloo neighbourhood to a big, noisy city. Instead of getting to ride your bike to school every day, you now get to walk and take the subw
2017-02-21 19:44:10 788
原创 poj Flip Game(DFS)(枚举)
Flip Game Description Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other one is black and each
2017-02-20 20:45:39 528
原创 poj Babelfish(二分||map)
Babelfish Description You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you u
2017-02-19 16:53:29 451
原创 Codeforces Round #395 (Div. 2) C. Timofey and a tree(树的基础应用)
Timofey and a tree Each New Year Timofey and his friends cut down a tree of n vertices and bring it home. After that they paint all the n its vertices, so that the i-th vertex gets color ci
2017-02-16 16:56:18 383
原创 poj Invitation Cards(spfa)
Invitation Cards Description In the age of television, not many people attend theater performances. Antique Comedians of Malidinesia are aware of this fact. They want to propagate theater and,
2017-02-16 15:28:19 491
原创 poj Candies(差分约束,spfa栈)
Candies Description During the kindergarten days, flymouse was the monitor of his class. Occasionally the head-teacher brought the kids of flymouse’s class a large bag of candies and had fly
2017-02-16 15:16:52 795
最新版phantonjs(Linux和Windows)
2018-09-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人