题解列表

筛选

字符类型统计

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

字符串的修改(python)

摘要:解题思路:注意事项:参考代码:def min_edit_distance(A, B):    m, n = len(A), len(B)        # 创建一个二维数组来记录状态    dp = ……

编写题解 2749: Hello, World!

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    cout<<"Hello, World!";}……

reverse倒序列表

摘要:解题思路:注意事项:参考代码:n=int(input())nums=list(map(int,input().split())) nums.reverse()for i in nums:     pr……

自定义函数之数字后移

摘要:解题思路:注意事项:参考代码:#include<stdio.h>void yd(int a[],int m,int n){    int i,b[n];    for(i=0;i<n;i++)    ……

题目 3034: 自然数的拆分

摘要:算法介绍:        本题使用的算法为深度优先搜索算法(Depth-First-Search,DFS),该算法所遵循的策略如同名字一样,讲究一个“深”字,就是尽可能深的去搜锁所有的节点,直到把所有……