题解列表

筛选

1168简单计算(数学归纳法寻找规律)

摘要:解题思路:建议去看第一名的解题思路,因为他有推导过程,讲的很清楚!!!膜拜大佬!!注意事项:参考代码:#include<iostream>using namespace std;int main(){……

编写题解 1100: 采药

摘要:解题思路:1把大问题转换成小问题,然后递归.2写出最小问题的初始状态。3用一个数组记录各层问题的中间计算结果,避免重复计算。参考代码:#include <stdio.h> #include <std……

1169 绝对值排序(sort排序)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cmath>using namespace std;bool compare(……

题解 2968: 区间内的真素数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int Real(int a){    if(a<2) return 0;    ……

2968: 区间内的真素数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){  ……

1999: 回文判断

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){  ……

题解 1157: 亲和数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll a[100000],b[10000……

1157: 亲和数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll qinhe(ll x){    l……