上一页 1 2 3 4 5 6 7 ··· 9 下一页

2013年11月30日

G - Jeff and Furik 逆序对 + 贪心

摘要: G -Jeff and FurikTime Limit:1000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusAppoint description:DescriptionJeff has become friends with Furik. Now these two are going to play one quite amusing game.At the beginning of the game Jeff takes a piece of paper and writes down a per 阅读全文

posted @ 2013-11-30 19:28 keep trying 阅读(444) 评论(0) 推荐(0) 编辑

2013年11月29日

I - Apple Tree 树形dp

摘要: I -Apple TreeTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusAppoint description:DescriptionYou are given a rooted tree withnvertices. In each leaf vertex there's a single integer — the number of apples in this vertex.Theweightof a subtree is the sum of all num 阅读全文

posted @ 2013-11-29 20:44 keep trying 阅读(214) 评论(0) 推荐(0) 编辑

D - Levko and Array Recovery 构造

摘要: D -Levko and Array RecoveryTime Limit:1000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusAppoint description:DescriptionLevko loves arraya1, a2, ... , an, consisting of integers, very much. That is why Levko is playing with arraya, performing all sorts of operations with it. Eac 阅读全文

posted @ 2013-11-29 15:02 keep trying 阅读(360) 评论(0) 推荐(0) 编辑

2013年11月28日

H - New Year Cruise 略水

摘要: H -New Year CruiseTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeURAL 1869DescriptionAnd I drank it straight down.In the life of Russian people there is always a place for a holiday! Even more so when several causes for celebration follow each other— New Ye 阅读全文

posted @ 2013-11-28 20:02 keep trying 阅读(166) 评论(0) 推荐(0) 编辑

2013年11月27日

Fibonacci Tree 最小生成树

摘要: Fibonacci TreeTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 434Accepted Submission(s): 146Problem Description Coach Pang is interested in Fibonacci numbers while Uncle Yang wants him to do some research on Spanning Tree. So Coach Pang decides to. 阅读全文

posted @ 2013-11-27 16:27 keep trying 阅读(250) 评论(0) 推荐(0) 编辑

B. Sereja and Suffixes 水题

摘要: B. Sereja and Suffixestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSereja has an arraya, consisting ofnintegersa1,a2,...,an. The boy cannot sit and do nothing, he decided to study an array. Sereja took a piece of paper and wrote outmintegersl1, 阅读全文

posted @ 2013-11-27 12:31 keep trying 阅读(251) 评论(0) 推荐(0) 编辑

C. Sereja and Algorithm 贪心

摘要: C. Sereja and Algorithmtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSereja loves all sorts of algorithms. He has recently come up with a new algorithm, which receives a string as an input. Let's represent the input string of the algorithm a 阅读全文

posted @ 2013-11-27 12:30 keep trying 阅读(293) 评论(0) 推荐(0) 编辑

2013年11月26日

A - Matrix 字符串 + 数学

摘要: A -MatrixTime Limit:1000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusAppoint description:DescriptionYou have a string of decimal digitss. Let's definebij = si·sj. Find in matrixbthe number of such rectangles that the sumbijfor all cells(i, j)that are the elements of t 阅读全文

posted @ 2013-11-26 23:04 keep trying 阅读(304) 评论(0) 推荐(0) 编辑

P - Sereja and Contest 数学

摘要: P -Sereja and ContestTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusAppoint description:DescriptionDuring the last Sereja's Codesecrof round the server crashed many times, so the round was decided to be made unrated for some participants.Let's assume thatn 阅读全文

posted @ 2013-11-26 18:59 keep trying 阅读(235) 评论(0) 推荐(0) 编辑

2013年11月25日

Web Navigation 模拟

摘要: Web NavigationTime Limit:1000MSMemory Limit:10000KTotal Submissions:27179Accepted:12164DescriptionStandard web browsers contain features to move backward and forward among the pages recently visited. One way to implement these features is to use two stacks to keep track of the pages that can be reac 阅读全文

posted @ 2013-11-25 19:04 keep trying 阅读(361) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 9 下一页

导航