题解列表

筛选

自定义函数之字符串反转1031

摘要:解题思路:两头开始交换位置注意事项:字符串长度计算和反转的限制条件参考代码:#include<stdio.h>#include <string.h>void revstr(char a[100],in……

基础study,循环输入整数

摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main(){    int a,sum=0,b;    scanf("%d",&a);    for (int i=0; i……

字符串的修改1205

摘要:解题思路:公式或者动态规划注意事项:参考代码:一、套公式:最少操作数=长字符串长度-最大公共子串长度#include二、动态规划——WagnerFischer算法#include <stdio.h>#……