- 博客(4)
- 收藏
- 关注
原创 C语言指针实现字符串替换
C语言指针实现字符串替换好久没碰字符串指针,遇到了很多小的,有意思的问题。题目编写一个函数,函数原型为char * ReplaceString(char * str, char * s1, char * s2),该函数使用s2替换str中的s1,函数返回替换后的字符串str的指针,如果str中没有字符串s1,函数直接返回字符串str的指针。#include <iostream.h>#include <string.h>#include <stdio.h>c
2021-04-08 09:22:31
8398
2
原创 poj-3261 Milk Patterns 后缀数组简单题
Farmer John has noticed that the quality of milk given by his cows varies from day to day. On further investigation, he discovered that although he can’t predict the quality of milk from one day to the
2017-04-14 12:26:49
422
原创 2017 Wuhan University Programming Contest --Lost in WHU
As one of the most beautiful campus in China, Wuhan University is around several hills, so the road is complex and visitors always lose themselves. Give a undirected graph of WHU of NN N points and
2017-04-10 18:41:52
574
原创 WHU B Color 2017 Wuhan University Programming Contest 一道简单树形dp
When Asuho was just a little girl, she has been loving stars, as there are so many romantic stories about old legends and the stars. Today, as usual, Asuho went to the observatory with her beloved boy
2017-04-10 12:19:33
358
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人