随笔分类 -  7 字符串

摘要:3670: [Noi2014]动物园 Description 近日,园长发现动物园中好吃懒做的动物越来越多了。例如企鹅,只会卖萌向游客要吃的。为了整治动物园的不良风气,让动物们凭自己的真才实学向游客要吃的,园长决定开设算法班,让动物们学习算法。 某天,园长给动物们讲解KMP算法。 园长:“对于一个字 阅读全文
posted @ 2017-10-17 09:54 嘒彼小星 阅读(136) 评论(0) 推荐(0)
摘要:E. Two Permutations time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Rubik is very keen o 阅读全文
posted @ 2017-10-15 15:34 嘒彼小星 阅读(268) 评论(0) 推荐(0)
摘要:E. Marbles time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output In the spirit of the holidays 阅读全文
posted @ 2017-10-15 10:40 嘒彼小星 阅读(479) 评论(0) 推荐(0)
摘要:A. Fair Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Petya and Vasya decided to p 阅读全文
posted @ 2017-09-25 22:06 嘒彼小星 阅读(305) 评论(2) 推荐(0)
摘要:题目描述 FJ is about to take his N (1 ≤ N ≤ 30,000) cows to the annual"Farmer of the Year" competition. In this contest every farmer arranges his cows in 阅读全文
posted @ 2017-08-19 19:15 嘒彼小星 阅读(224) 评论(0) 推荐(0)
摘要:NOIP模拟17.8.15 A 债务文件名 输入文件 输出文件 时间限制 空间限制debt.pas/c/cpp debt.in debt.out 1s 128MB【题目描述】小 G 有一群好朋友,他们经常互相借钱。假如说有三个好朋友 A,B,C。A欠 B 20 元,B 欠 C 20 元,总债务规模为 阅读全文
posted @ 2017-08-17 21:33 嘒彼小星 阅读(204) 评论(0) 推荐(0)
摘要:Period Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 18405 Accepted: 8920 Description For each prefix of a given string S with N characte 阅读全文
posted @ 2017-08-07 20:16 嘒彼小星 阅读(163) 评论(0) 推荐(0)