摘要: 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 阅读(135) 评论(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 阅读(244) 评论(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 阅读(188) 评论(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 阅读(235) 评论(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 阅读(243) 评论(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) 编辑