11 2016 档案
摘要:Alyona and a tree time limit per test 2 seconds time limit per test memory limit per test 256 megabytes memory limit per test input standard input inp
阅读全文
摘要:后缀数组一·重复旋律 时间限制:5000ms 单点时限:1000ms 内存限制:256MB 描述 小Hi平时的一大兴趣爱好就是演奏钢琴。我们知道一个音乐旋律被表示为长度为 N 的数构成的数列。 小Hi在练习过很多曲子以后发现很多作品自身包含一样的旋律。旋律是一段连续的数列,相似的旋律在原数列可重叠。
阅读全文
摘要:M × N Puzzle Time Limit: 4000MS Memory Limit: 131072K Total Submissions: 4112 Accepted: 1140 Description The Eight Puzzle, among other sliding-tile pu
阅读全文
摘要:Stars Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 44309 Accepted: 19236 Description Astronomers often examine star maps where stars are
阅读全文
摘要:Apple Tree Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 27470 Accepted: 8140 Description There is an apple tree outside of kaka's house.
阅读全文
摘要:Cows Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 17626 Accepted: 5940 Description Farmer John's cows have discovered that the clover gr
阅读全文
摘要:Japan Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 26544 Accepted: 7206 Description Japan plans to welcome the ACM ICPC World Finals and
阅读全文
摘要:MooFest Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 7077 Accepted: 3181 Description Every year, Farmer John's N (1 <= N <= 20,000) cows
阅读全文
摘要:Ping pong Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3139 Accepted: 1157 Description N(3<=N<=20000) ping pong players live along a wes
阅读全文
摘要:Mobile phones Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 18608 Accepted: 8621 Description Suppose that the fourth generation mobile ph
阅读全文
摘要:Trash Time limit: 1.0 secondMemory limit: 64 MB You were just hired as CEO of the local junkyard.One of your jobs is dealing with the incoming trash a
阅读全文
摘要:Mosaic Time limit: 0.25 secondMemory limit: 64 MB There's no doubt that one of the most important and crucial things to do in this world is to bring u
阅读全文
摘要:Meeting Time limit: 2.0 secondMemory limit: 64 MB K friends has decided to meet in order to celebrate their victory at the programming contest. Unfort
阅读全文
摘要:Prufer Code Time limit: 0.25 secondMemory limit: 8 MB A tree (i.e. a connected graph without cycles) with vertices is given (N ≥ 2). Vertices of the t
阅读全文
摘要:Sightseeing Trip Time limit: 0.5 secondMemory limit: 64 MB There is a travel agency in Adelton town on Zanzibar island. It has decided to offer its cl
阅读全文
摘要:Kostya the Sculptor time limit per test 3 seconds time limit per test memory limit per test 256 megabytes memory limit per test input standard input i
阅读全文