1999: 回文判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){ …… 题解列表 2024年07月10日 0 点赞 0 评论 153 浏览 评分:0.0
2968: 区间内的真素数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){ …… 题解列表 2024年07月10日 0 点赞 0 评论 161 浏览 评分:0.0
题解 2968: 区间内的真素数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int Real(int a){ if(a<2) return 0; …… 题解列表 2024年07月10日 0 点赞 0 评论 148 浏览 评分:0.0
1169 绝对值排序(sort排序) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cmath>using namespace std;bool compare(…… 题解列表 2024年07月10日 0 点赞 0 评论 147 浏览 评分:0.0
时间和哥哥回归回归回归回归回归健康的规划 摘要:解题思路:无注意事项:无参考代码:m=input()m=int(m)r=[]j=0for w in range(2,m+1): j=1 r=[] r.append(1) …… 题解列表 2024年07月10日 0 点赞 0 评论 212 浏览 评分:0.0
编写题解 1100: 采药 摘要:解题思路:1把大问题转换成小问题,然后递归.2写出最小问题的初始状态。3用一个数组记录各层问题的中间计算结果,避免重复计算。参考代码:#include <stdio.h> #include <std…… 题解列表 2024年07月10日 0 点赞 0 评论 256 浏览 评分:0.0
1168简单计算(数学归纳法寻找规律) 摘要:解题思路:建议去看第一名的解题思路,因为他有推导过程,讲的很清楚!!!膜拜大佬!!注意事项:参考代码:#include<iostream>using namespace std;int main(){…… 题解列表 2024年07月10日 0 点赞 0 评论 249 浏览 评分:0.0
1166求[X,Y]内被除3余1并且被除5余3的整数的和(for循环遍历) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int X, Y; cin >> X >> Y; long long …… 题解列表 2024年07月10日 0 点赞 0 评论 401 浏览 评分:0.0
1165明明的随机数(sort排序) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int N; cin >> N;…… 题解列表 2024年07月10日 0 点赞 0 评论 163 浏览 评分:0.0
1164数组的距离(分类讨论) 摘要:解题思路:注意此题已经说明了是从大到小了,求最小的绝对值无非就是 判断最大值小的 那个数组所处的位置在哪就可以求解了,不要想太复杂!!!注意事项:参考代码:#include<iostream>#inc…… 题解列表 2024年07月10日 1 点赞 0 评论 331 浏览 评分:8.0