摘要:
2014-07-2817:23:23 1 /************************************************************************* 2 > File Name: e.cpp 3 > Author: Nature 4 ... 阅读全文
摘要:
2014-07-2714:50:14Problem F"Advertisement"The Department of Recreation has decided that it must be more profitable, and it wants to sell advertising s... 阅读全文
摘要:
2014-07-2714:36:04Gone FishingJohn is going on a fishing trip. He hashhours available (), and there arenlakes in the area () all reachable along a sin... 阅读全文
摘要:
2014-07-2714:31:33Maximum sum on a torusInput:Standard InputOutput:Standard OutputA grid that wraps both horizontally and vertically is called a torus... 阅读全文
摘要:
2014-07-2714:28:12Maximum SumBackgroundA problem that is simple to solve in one dimension is often much more difficult to solve in more than one dimen... 阅读全文
摘要:
Jill Rides AgainJill likes to ride her bicycle, but since the pretty city of Greenhills where she lives has grown, Jill often uses the excellent publi... 阅读全文
摘要:
2014-07-2714:13:29Problem A: An antiarithmetic permutationA permutation ofn+1is a bijective function of the initialn+1natural numbers: 0, 1, ...n. A p... 阅读全文
摘要:
2014-07-2714:02:09The Closest Pair ProblemInput:standard inputOutput:standard outputTime Limit:8 secondsMemory Limit:32 MBGiven a set of points in a t... 阅读全文
摘要:
2014-07-2713:55:32Problem A: The Trip, 2007A number of students are members of a club that travels annually to exotic locations. Their destinations in... 阅读全文
摘要:
2014-07-2516:31:38Problem D: Evil Straw Warts LiveA palindrome is a string of symbols that is equal to itself when reversed. Given an input string, no... 阅读全文
摘要:
2014-07-2515:22:24思路:简单贪心,从9开始一直考虑到2,即可。 1 /************************************************************************* 2 > File Name: h.cpp 3 >... 阅读全文
摘要:
2014-07-2515:00:26Problem CGraph ConstructionTime Limit2 SecondsGraph is a collection of edges E and vertices V. Graph has a wide variety of applicati... 阅读全文
摘要:
2014-07-2513:42:10Problem C: Work Reduction Paperwork is beginning to pile up on your desk, and tensions at the workplace are starting to mount. Your ... 阅读全文
摘要:
2014-07-2321:05:19Question 2: File FragmentationThe ProblemYour friend, a biochemistry major, tripped while carrying a tray of computer files through ... 阅读全文
摘要:
2014-07-2321:03:14Copying BooksBefore the invention of book-printing, it was very hard to make a copy of a book. All the contents had to be re-written... 阅读全文
摘要:
2014-07-2320:59:19Minimal coverageThe ProblemGiven several segments of line (int the X axis) with coordinates [Li,Ri]. You are to choose the minimal a... 阅读全文
摘要:
2014-07-2320:57:11PacketsA factory produces products packed in square packets of the same heighthand of the sizes,,,,,. These products are always deli... 阅读全文
摘要:
2014-07-2320:54:44Shoemaker's ProblemShoemaker has N jobs (orders from customers) which he must make. Shoemaker can work on only one job in each day. ... 阅读全文
摘要:
2014-07-2320:52:25Problem E - Camel tradingTime Limit: 1 secondBackgroundAroud 800 A.D., El Mamum, Calif of Baghdad was presented the formula 1+2*3*4+... 阅读全文
摘要:
2014-07-2320:49:56Problem DClosest SumsInput:standard inputOutput:standard outputTime Limit:3 secondsGiven is a set of integers and then a sequence of... 阅读全文