摘要:
#include<stdio.h>#include<string.h>int main(){ int i,j=0,y=0; //y为每次空格连续出现的个数 char a[200],b[200]; //a为输入的字符串,b为过滤多余的空格后的字符串 gets(a); for(i=0; i<strlen 阅读全文
posted @ 2019-12-09 16:58
神与坤(T—T)
阅读(316)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<string.h> int main() { char a[501],b[501],c[501];//a[]为从键盘输入的数组,b[]存储顺序子串,c[]存储逆序的b[]子串 int i,j,k=2,len;//k为子串长度 gets(a);// 阅读全文
posted @ 2019-12-09 16:56
神与坤(T—T)
阅读(531)
评论(0)
推荐(0)

浙公网安备 33010602011771号