上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: H. Queries for Number of Palindromestime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got a strings = s1s2...s|s|of length|s|, consisting of lowercase English letters. There also areqqueries, each query is described by two integersli, ri 阅读全文
posted @ 2012-11-21 19:43 YogyKwan 阅读(257) 评论(0) 推荐(1) 编辑
摘要: C. Game with Coinstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo pirates Polycarpus and Vasily play a very interesting game. They havenchests with coins, the chests are numbered with integers from 1 ton. Chest numberihasaicoins.Polycarpus an 阅读全文
posted @ 2012-11-21 19:39 YogyKwan 阅读(406) 评论(0) 推荐(0) 编辑
摘要: HotelTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 7782Accepted: 3299DescriptionThe cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores of Lake Superior. Bessie, ever the competent travel agent, has named the Bullmoose Ho 阅读全文
posted @ 2012-10-09 16:53 YogyKwan 阅读(306) 评论(0) 推荐(1) 编辑
摘要: Help with IntervalsTime Limit: 6000MSMemory Limit: 131072KTotal Submissions: 7152Accepted: 1637Case Time Limit: 2000MSDescriptionLogLoader, Inc. is a company specialized in providing products for analyzing logs. While Ikki is working on graduation design, he is also engaged in an internship at LogLo 阅读全文
posted @ 2012-10-09 16:48 YogyKwan 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Mayor's postersTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 29495Accepted: 8531DescriptionThe citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all places at their whim. The city council has fin 阅读全文
posted @ 2012-10-09 16:44 YogyKwan 阅读(476) 评论(0) 推荐(1) 编辑
摘要: A Simple Problem with IntegersTime Limit: 5000MSMemory Limit: 131072KTotal Submissions: 37225Accepted: 10745Case Time Limit: 2000MSDescriptionYou have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a gi 阅读全文
posted @ 2012-10-09 16:41 YogyKwan 阅读(195) 评论(0) 推荐(1) 编辑
摘要: Just a HookTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9939 Accepted Submission(s): 4882 Problem DescriptionIn the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several cons 阅读全文
posted @ 2012-10-09 16:39 YogyKwan 阅读(201) 评论(0) 推荐(1) 编辑
摘要: Minimum Inversion NumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 5210 Accepted Submission(s): 3190 Problem DescriptionThe inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i < j and 阅读全文
posted @ 2012-10-09 16:34 YogyKwan 阅读(164) 评论(0) 推荐(1) 编辑
摘要: I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 20014 Accepted Submission(s): 8014 Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目包含多组测试,请处理到文件结 阅读全文
posted @ 2012-10-09 16:31 YogyKwan 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 20954 Accepted Submission(s): 9193 Problem DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营 阅读全文
posted @ 2012-10-09 16:28 YogyKwan 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页