
贪心
SCUT_Pein
这个作者很懒,什么都没留下…
展开
-
POJ1328--贪心
DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea side. And any radar installation,原创 2013-01-31 22:31:05 · 582 阅读 · 0 评论 -
ZOJ3410--Layton's Escape
DescriptionProfessor Layton is a renowned archaeologist from London's Gressenheller University. He and his apprentice Luke has solved various mysteries in different places.Unfortunately, L原创 2014-07-16 18:27:08 · 634 阅读 · 0 评论 -
UVA10821--Constructing BST(贪心+二分)
BST (Binary Search Tree) is an efficient data structure for searching. In a BST all the elements of the left sub-tree are smaller and those of right sub-tree are greater than the root. A typical examp原创 2014-04-06 22:49:27 · 847 阅读 · 0 评论 -
CF237 E 404E - Maze 1D(二分)
Valera has a strip infinite in both directions and consisting of cells. The cells are numbered by integers. The cell number 0 has a robot.The robot has instructions — the sequence of moves that he原创 2014-03-20 20:26:26 · 822 阅读 · 0 评论 -
Occupy FLB
DescriptionChunge had a dreamlast night. In the dream he became a general leading an army of urban manager(城管 UM)to attack the neighbor country FLB. FLB is an island country which consist原创 2013-05-21 22:05:58 · 908 阅读 · 0 评论 -
HDU4296--Buildings
Description Have you ever heard the story of Blue.Mary, the great civil engineer? Unlike Mr. Wolowitz, Dr. Blue.Mary has accomplished many great projects, one of which is the Guanghua Building.原创 2013-05-18 13:33:10 · 776 阅读 · 0 评论 -
CodeForeces 35D
Descriptioninputinput.txtoutputoutput.txtOnce upon a time DravDe, an outstanding person famous for his professional achievements (as you must remember, he works in a warehouse st原创 2013-02-25 08:33:58 · 899 阅读 · 0 评论 -
UVA11729--Commando War
DescriptionGCommando WarInput: Standard InputOutput: Standard Output “Waiting for orders we held in the wood, word from the front never cameBy evening th原创 2013-02-23 22:14:54 · 607 阅读 · 0 评论 -
Paper Work--codeForces 250A
DescriptionPolycarpus has been working in the analytic department of the "F.R.A.U.D." company for as much as n days. Right now his task is to make a series of reports about the company's perform原创 2013-02-22 20:34:37 · 634 阅读 · 0 评论 -
Mishap in Club--codeForces 245E--贪心
DescriptionPolycarpus just has been out of luck lately! As soon as he found a job in the "Binary Cat" cafe, the club got burgled. All ice-cream was stolen.On the burglary night Polycarpus kept a原创 2013-02-22 20:25:31 · 1156 阅读 · 0 评论 -
UVA12032--贪心
DescriptionIt's time to remember the disastrous moment of the old school math. Yes, the little math problem with the monkey climbing on an oiled bamboo. It goes like:``A monkey is trying t原创 2013-01-31 22:42:06 · 895 阅读 · 0 评论 -
POJ2287--贪心(田忌赛马)
DescriptionHere is a famous story in Chinese history. That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to play horse racing with the king and othe原创 2013-01-31 22:33:33 · 838 阅读 · 0 评论 -
POJ2586--贪心
DescriptionAccounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vital data for preparing annual report for MS Inc. All what they remember is that MS Inc. poste原创 2013-01-31 22:28:33 · 497 阅读 · 0 评论 -
CF 448C Painting Fence
Bizon the Champion isn't just attentive, he also is very hardworking.Bizon the Champion decided to paint his old fence his favorite color, orange. The fence is represented as n vertical planks, pu原创 2014-07-18 11:33:17 · 757 阅读 · 0 评论