
串
空白君有着一把空白键blanKey
即使世界如此残酷,我们仍是努力挣扎着
/*算了,退役了,不挣扎了QWQ*/
展开
-
严蔚敏 数据结构习题 C语言 4.10~4.13
今天忙了一大堆的事后,脑子突然短路了,各种小问题找了N久,现在感觉要爆肝了,比看到听到某人自称宝宝更不好(°ο°)~@ 晕倒了.. 不多说,上代码~#include <iostream>#include <stdlib.h>#include <math.h>#include <string.h>#include <stdio.h>using namespace std;#define原创 2015-10-25 23:32:13 · 1008 阅读 · 0 评论 -
严蔚敏 数据结构 4.30 最长公共字串
原串为S,第一个字串为S1,从头开始,另一个字串S2与S1向右错位平移1位、2位、3位……与S1匹配,找公共字串,并用maxlen记录已找到的最大长度,懂了这个就很简单了,这题也不难#include <iostream>#include <stdio.h>#include <stdlib.h>#define ok 1#define error 0#define true 1#define原创 2015-10-26 18:34:13 · 700 阅读 · 0 评论 -
Codeforces Round #344 (Div. 2) D. Messenger
D. Messengertime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputEach employee of the "Blake Techologies" compa原创 2016-05-09 18:04:56 · 825 阅读 · 0 评论