题解 1157: 亲和数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll a[100000],b[10000…… 题解列表 2024年07月10日 0 点赞 0 评论 244 浏览 评分:0.0
1999: 回文判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){ …… 题解列表 2024年07月10日 1 点赞 0 评论 276 浏览 评分:0.0
2968: 区间内的真素数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){ …… 题解列表 2024年07月10日 0 点赞 0 评论 290 浏览 评分:0.0
题解 2968: 区间内的真素数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int Real(int a){ if(a<2) return 0; …… 题解列表 2024年07月10日 0 点赞 0 评论 275 浏览 评分:0.0
1169 绝对值排序(sort排序) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cmath>using namespace std;bool compare(…… 题解列表 2024年07月10日 0 点赞 0 评论 269 浏览 评分:0.0
1168简单计算(数学归纳法寻找规律) 摘要:解题思路:建议去看第一名的解题思路,因为他有推导过程,讲的很清楚!!!膜拜大佬!!注意事项:参考代码:#include<iostream>using namespace std;int main(){…… 题解列表 2024年07月10日 0 点赞 0 评论 379 浏览 评分: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 评论 523 浏览 评分:0.0
1165明明的随机数(sort排序) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int N; cin >> N;…… 题解列表 2024年07月10日 0 点赞 0 评论 312 浏览 评分:0.0
1164数组的距离(分类讨论) 摘要:解题思路:注意此题已经说明了是从大到小了,求最小的绝对值无非就是 判断最大值小的 那个数组所处的位置在哪就可以求解了,不要想太复杂!!!注意事项:参考代码:#include<iostream>#inc…… 题解列表 2024年07月10日 1 点赞 0 评论 488 浏览 评分:8.0
1163排队买票(dfs 深搜) 摘要:解题思路:看到方案数,就想到了 dfs ,而且这道题 M 的值在10以内,所以一般情况下是不会超时的,当时思路一定要清晰,这是做题的关键!这是在勉励自己!!!我第一次做的时候,就没有考虑全面,不知道如…… 题解列表 2024年07月10日 0 点赞 0 评论 407 浏览 评分:0.0