上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 42 下一页
摘要: Anton and Making Potions time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output Anton and Makin 阅读全文
posted @ 2016-11-17 16:55 mxzf0213 阅读(296) 评论(0) 推荐(0) 编辑
摘要: Period 题目大意: 有多组测试用例,第一行为字符串长度,第二行为字符串,则对字符串的每一个前缀,若存在循环节且循环次数>1,输出长度和最大的循环次数; 每组测试用例后空一行; SampleInput 3 aaa 12 aabaabaabaab 0 SampleOutput Test case 阅读全文
posted @ 2016-11-15 23:51 mxzf0213 阅读(269) 评论(0) 推荐(0) 编辑
摘要: KMP算法 时间限制:1000ms 单点时限:1000ms 内存限制:256MB KMP算法 KMP算法 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 小Hi和小Ho是一对好朋友,出生在信息化社会的他们对编程产生了莫大的兴趣,他们约定好互相帮助,在编程的学习道路上一同前 阅读全文
posted @ 2016-11-15 21:46 mxzf0213 阅读(226) 评论(0) 推荐(0) 编辑
摘要: struct Complex { double r,i; Complex(double _r,double _i):r(_r),i(_i){} Complex(){} Complex operator +(const Complex &b) { return Complex(r+b.r,i+b.i) 阅读全文
posted @ 2016-11-12 22:29 mxzf0213 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 后缀数组四·重复旋律4 后缀数组四·重复旋律4 时间限制:5000ms 单点时限:1000ms 内存限制:256MB 描述 小Hi平时的一大兴趣爱好就是演奏钢琴。我们知道一个音乐旋律被表示为长度为 N 的数构成的数列。小Hi在练习过很多曲子以后发现很多作品中的旋律有重复的部分。 我们把一段旋律称为( 阅读全文
posted @ 2016-11-08 23:56 mxzf0213 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Outing 题目描述 Organising a group trip for the elderly can be a daunting task... Not least because of the fussy participants, each of whom will only make 阅读全文
posted @ 2016-11-04 22:47 mxzf0213 阅读(340) 评论(0) 推荐(0) 编辑
摘要: Clock Pictures 题目描述 You have two pictures of an unusual kind of clock. The clock has n hands, each having the same length and no kind of marking whats 阅读全文
posted @ 2016-11-04 22:37 mxzf0213 阅读(395) 评论(0) 推荐(0) 编辑
摘要: Drivers Dissatisfaction time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output Drivers Dissatis 阅读全文
posted @ 2016-11-02 00:46 mxzf0213 阅读(300) 评论(0) 推荐(0) 编辑
摘要: Epidemic in Monstropolis time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Epidemic in Mons 阅读全文
posted @ 2016-11-02 00:35 mxzf0213 阅读(419) 评论(0) 推荐(0) 编辑
摘要: Kostya the Sculptor time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Kostya the Sculptor 阅读全文
posted @ 2016-11-02 00:30 mxzf0213 阅读(319) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 42 下一页