上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 32 下一页
摘要: 2014-07-2817:23:23 1 /************************************************************************* 2 > File Name: e.cpp 3 > Author: Nature 4 ... 阅读全文
posted @ 2014-07-28 17:24 Naturain 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-27 14:53 Naturain 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-27 14:50 Naturain 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 2014-07-2714:31:33Maximum sum on a torusInput:Standard InputOutput:Standard OutputA grid that wraps both horizontally and vertically is called a torus... 阅读全文
posted @ 2014-07-27 14:35 Naturain 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-27 14:31 Naturain 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-27 14:28 Naturain 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-27 14:20 Naturain 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-27 14:05 Naturain 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-27 14:01 Naturain 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-25 16:36 Naturain 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 2014-07-2515:22:24思路:简单贪心,从9开始一直考虑到2,即可。 1 /************************************************************************* 2 > File Name: h.cpp 3 >... 阅读全文
posted @ 2014-07-25 15:23 Naturain 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-25 15:03 Naturain 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 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 ... 阅读全文
posted @ 2014-07-25 13:44 Naturain 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 2014-07-2321:05:19Question 2: File FragmentationThe ProblemYour friend, a biochemistry major, tripped while carrying a tray of computer files through ... 阅读全文
posted @ 2014-07-23 21:22 Naturain 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-23 21:05 Naturain 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2014-07-23 21:02 Naturain 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 2014-07-2320:57:11PacketsA factory produces products packed in square packets of the same heighthand of the sizes,,,,,. These products are always deli... 阅读全文
posted @ 2014-07-23 20:59 Naturain 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 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. ... 阅读全文
posted @ 2014-07-23 20:57 Naturain 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 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+... 阅读全文
posted @ 2014-07-23 20:54 Naturain 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 2014-07-2320:49:56Problem DClosest SumsInput:standard inputOutput:standard outputTime Limit:3 secondsGiven is a set of integers and then a sequence of... 阅读全文
posted @ 2014-07-23 20:52 Naturain 阅读(118) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 32 下一页