字符串的两个常用初级的总结

1、统计出字符串中最多的字母有多少个 #include<stdio.h> #include<string.h> int main()   {     char s[1010];     int T,i,j,k=0,max;     scanf("%d",&T);     getchar();     while(T--)     {         int b[26]={0};         m
相关文章
相关标签/搜索