啥都不会啊!怎么办啊!

Fitz

慢慢来生活总会好起来的!!!

摘要: On a grid map there are n little men and n houses. In each unit time, every little man can move one unit step, either horizontally, or vertically, to 阅读全文
posted @ 2018-08-03 21:31 Fitz~ 阅读(433) 评论(0) 推荐(0) 编辑
摘要: frog has a piece of paper divided into n rows and m columns. Today, she would like to draw a rectangle whose perimeter is not greater than k. There ar 阅读全文
posted @ 2018-08-03 20:19 Fitz~ 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Description Rain has pummeled the cows' field, a rectangular grid of R rows and C columns (1 <= R <= 50, 1 <= C <= 50). While good for the grass, the 阅读全文
posted @ 2018-08-03 18:58 Fitz~ 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Description Running a taxi station is not all that simple. Apart from the obvious demand for a centralised coordination of the cabs in order to pick u 阅读全文
posted @ 2018-08-03 18:56 Fitz~ 阅读(230) 评论(0) 推荐(0) 编辑
摘要: In modern society, each person has his own friends. Since all the people are very busy, they communicate with each other only by phone. You can assume 阅读全文
posted @ 2018-08-03 18:54 Fitz~ 阅读(169) 评论(0) 推荐(0) 编辑
摘要: CIA headquarter collects data from across the country through its classified network. They have been usingoptical fibres long before it's been deploye 阅读全文
posted @ 2018-08-03 18:51 Fitz~ 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Description FJ has moved his K (1 <= K <= 30) milking machines out into the cow pastures among the C (1 <= C <= 200) cows. A set of paths of various l 阅读全文
posted @ 2018-08-03 18:48 Fitz~ 阅读(360) 评论(0) 推荐(0) 编辑
摘要: Desert King Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 23729 Accepted: 6631 Description David the Great has just become the king of a 阅读全文
posted @ 2018-08-03 18:43 Fitz~ 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Sightseeing Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 9247 Accepted: 3242 Description Tour operator Your Personal Holiday organises g 阅读全文
posted @ 2018-08-03 18:39 Fitz~ 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, we 阅读全文
posted @ 2018-08-03 18:34 Fitz~ 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Every year, Farmer John's N (1 <= N <= 20,000) cows attend "MooFest",a social gathering of cows from around the world. MooFest involves a variety of e 阅读全文
posted @ 2018-08-03 18:33 Fitz~ 阅读(134) 评论(0) 推荐(0) 编辑
摘要: There is an apple tree outside of kaka's house. Every autumn, a lot of apples will grow in the tree. Kaka likes apple very much, so he has been carefu 阅读全文
posted @ 2018-08-03 17:27 Fitz~ 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Farmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his 阅读全文
posted @ 2018-08-03 17:25 Fitz~ 阅读(273) 评论(0) 推荐(0) 编辑
摘要: Suppose that the fourth generation mobile phone base stations in the Tampere area operate as follows. The area is divided into squares. The squares fo 阅读全文
posted @ 2018-08-03 17:23 Fitz~ 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Astronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level of a star 阅读全文
posted @ 2018-08-03 17:22 Fitz~ 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Japan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the East coast 阅读全文
posted @ 2018-08-03 17:20 Fitz~ 阅读(195) 评论(0) 推荐(0) 编辑
摘要: In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping two adjacen 阅读全文
posted @ 2018-08-03 17:17 Fitz~ 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 题目是让每次对一个子矩阵进行翻转(0变1,1变0), 然后有多次询问,询问某个点是0还是1 这题可以用二维的树状数组来解决,考虑传统的树状数组是改变某个点,然后查询某一段, 而这个题是改变某一段,查询某个点,需要进行一下转换,将原来的改值变成查询, 查询变成改值。改制时相当于对区间分别进行修改,而查 阅读全文
posted @ 2018-08-03 08:49 Fitz~ 阅读(392) 评论(0) 推荐(0) 编辑