题解 1644: 蓝桥杯算法训练VIP-最长字符串

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

比较繁琐的解法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    int i,j,p=0;    char a[150],b[150],……

结构体数组解决(c语言代码)

```c#include#include#defineMAX101typedefstruct{//定义一个结构体chars[MAX];//字符数组,用于存储字符串intlength;//整数,存储字符串的长度}Arr;intmain(){Arrstr[MAX];//定义一个Arr类型的数组,

最长字符串

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){   char n[5][100];    int s=0;    for(……