题解列表
题解 1157: 亲和数
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll a[100000],b[10000……
1999: 回文判断
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){ ……
2968: 区间内的真素数
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){ ……
题解 2968: 区间内的真素数
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int Real(int a){ if(a<2) return 0; ……
1169 绝对值排序(sort排序)
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cmath>using namespace std;bool compare(……
1168简单计算(数学归纳法寻找规律)
摘要:解题思路:建议去看第一名的解题思路,因为他有推导过程,讲的很清楚!!!膜拜大佬!!注意事项:参考代码:#include<iostream>using namespace std;int main(){……
1166求[X,Y]内被除3余1并且被除5余3的整数的和(for循环遍历)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int X, Y; cin >> X >> Y; long long ……
1165明明的随机数(sort排序)
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int N; cin >> N;……
1164数组的距离(分类讨论)
摘要:解题思路:注意此题已经说明了是从大到小了,求最小的绝对值无非就是 判断最大值小的 那个数组所处的位置在哪就可以求解了,不要想太复杂!!!注意事项:参考代码:#include<iostream>#inc……