题解列表
The 3n + 1 problem
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ int a,b; int i = 0; int x; while (scan……
暴力法,蓝桥杯2020年第十一届省赛真题-回文日期
摘要:解题思路:注意事项:参考代码:from datetime import timedelta, datetime
def pan1(day):
for i in range(4):
……
动态规划 最长公共子序列
摘要:解题思路:注意事项:参考代码:a = list(input())
b = list(input())
la = len(a)
lb =len(b)
dp=[[0 for i in range(……
【C语言题解】1025: [编程入门]数组插入处理
摘要:```
#include
定义一个数组来存放数字
int number [15];
int main(){
//清空数组
memset (number,0,sizeof(num……
二分查找求方案数 (最大值)
摘要:二分查找 巧克力划分的方案数 (最大值)
```c++
#include
using namespace std;
const int N = 1e5+10;
typedef long ……
dp和dfs两种解法(java)
摘要:参考代码:import java.util.*;public class Main { static int n; static int[][]g=new int[26][26]; static in……