2015年8月1日

HDU 3635 Dragon Balls(并查集)

摘要: Dragon BallsProblem DescriptionFive hundred years later, the number of dragon balls will increase unexpectedly, so it's too difficult for... 阅读全文

posted @ 2015-08-01 16:48 焰 阅读(139) 评论(0) 推荐(0) 编辑

HDU 4883 TIANKENG’s restaurant

摘要: TIANKENG’s restaurantProblem DescriptionTIANKENG manages a restaurant after graduating from ZCMU, and tens of thousands of customers come ... 阅读全文

posted @ 2015-08-01 16:45 焰 阅读(124) 评论(0) 推荐(0) 编辑

2015年7月31日

HDU 1016 素数环(DFS)

摘要: Prime Ring ProblemProblem DescriptionA ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circl... 阅读全文

posted @ 2015-07-31 19:37 焰 阅读(159) 评论(0) 推荐(0) 编辑

POJ 1328 Radar Installation(区间选点)

摘要: Radar InstallationDescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Ea... 阅读全文

posted @ 2015-07-31 15:46 焰 阅读(164) 评论(0) 推荐(0) 编辑

POJ 2312(优先队列+bfs)

摘要: Battle City DescriptionMany of us had played the game "Battle city" in our childhood, and some people (like... 阅读全文

posted @ 2015-07-31 11:13 焰 阅读(369) 评论(0) 推荐(0) 编辑

2015年7月30日

NYOJ 58 最少步数(BFS)

摘要: 最少步数描述这有一个迷宫,有0~8行和0~8列:1,1,1,1,1,1,1,1,11,0,0,1,0,0,1,0,11,0,0,1,1,0,0,0,11,0,1,0,1,1,0,1,11,0,0,0,0,1,0,0,11,1,0,1,0,1,0,0,11,... 阅读全文

posted @ 2015-07-30 23:29 焰 阅读(182) 评论(0) 推荐(0) 编辑

HDU 2199 Can you solve this equation?

摘要: Can you solve this equation?Problem DescriptionNow,given the equation 8*x^4 + 7*x^3 + 2*x^2 + 3*x + 6 == Y,can you find its solution between 0 ... 阅读全文

posted @ 2015-07-30 18:21 焰 阅读(125) 评论(0) 推荐(0) 编辑

HDU 2141 Can you find it?

摘要: Can you find it?Problem DescriptionGive you three sequences of numbers A, B, C, then we give you a number X. Now you need to calculate if yo... 阅读全文

posted @ 2015-07-30 18:16 焰 阅读(207) 评论(0) 推荐(0) 编辑

POJ 1064 Cable master

摘要: Cable masterDescriptionInhabitants of the Wonderland have decided to hold a regional programming contest. The Judging Committee has volunt... 阅读全文

posted @ 2015-07-30 18:10 焰 阅读(178) 评论(0) 推荐(0) 编辑

HDU 1950 Bridging signals(LIS O(nlogn))

摘要: Bridging signalsProblem Description'Oh no, they've done it again', cries the chief designer at the Waferland chip factory. Once more the... 阅读全文

posted @ 2015-07-30 12:05 焰 阅读(144) 评论(0) 推荐(0) 编辑

导航