题解列表

筛选

简单易想到

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

直接输入然后输出

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

绝望中诞生的奇迹战士!

摘要:解题思路:                                     如果字符不相同取删除,修改,插入的最小值加1                          &n

while循环的简单使用

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int x(int n) {    int sum = 0;    if (n < 2) return 0;     while (n……

2852配对碱基链

摘要:解题思路:注意事项:#n=include<string>是引用strlen函数的头文件参考代码:#include<stdio.h>#include<string.h>int main(){    ch……

3061: 公共子序列 进来包看懂

摘要:解题思路:                        不同就取左和上的最大值,相同就左上角加一,不说了,康图吧                                      &n

3060: 合并石子 区间DP

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量n和数组a、dp int n, a[110], dp[1……

简单易想到

摘要:解题思路:进行字符串拼接注意事项:参考代码:#include<stdio.h>#include<string.h>void fun(char*a,char*b){ char c[100]; int i……