字符串
文章平均质量分 64
金楚潇
宁静致远,学无止境。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Binary String Matching
题目描述: Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For example, the text string B is ‘1001110110’原创 2015-04-07 00:23:31 · 1065 阅读 · 1 评论 -
字符串数组
//有3个国家名,找出按字母顺序排在最前面的国家字符串 代码如下: #include #include using namespace std; int main() { void smallest_string(char str[ ][30],int i);//函数声明 int i; char country_name[3][30];//定义二维字符数组,把一个二原创 2015-08-07 15:58:16 · 953 阅读 · 0 评论
分享