上一页 1 ··· 17 18 19 20 21
摘要: 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 @ 2014-04-24 13:19 daydaycode 阅读(442) 评论(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 @ 2014-04-23 17:37 daydaycode 阅读(177) 评论(0) 推荐(0) 编辑
摘要: There are N integers (1A[j].InputThe first line of the input contains the number N. The second line contains N numbers A1...AN.OutputWrite amount of s... 阅读全文
posted @ 2014-04-23 17:35 daydaycode 阅读(193) 评论(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 @ 2014-04-23 17:33 daydaycode 阅读(161) 评论(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 @ 2014-04-23 17:31 daydaycode 阅读(176) 评论(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 @ 2014-04-23 17:29 daydaycode 阅读(206) 评论(0) 推荐(0) 编辑
摘要: C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的人数都有可能发生... 阅读全文
posted @ 2014-04-23 17:27 daydaycode 阅读(157) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21