题解列表

筛选

字符串的修改1205

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

简化宏定义求三角形面积

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define S(a,b,c) (a+b+c)/2#define area(a,b,c)  sqrt(……

用筛法求之N内的素数

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    int n,sum;    cin>>n;    fo……

1097+注释+易理解

摘要:解题思路:  规律有很多,这是其中一个注意事项:参考代码:import java.util.Scanner;public class Main{    public static void main(……