题解列表

筛选

1171蟠桃记(两个while循环)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; while (cin >> n) { int m = ……

趣味儿童与人格不好

摘要:解题思路:无注意事项:无参考代码:b=input()b=int(b)e=0for i in range(2,b):    if b%i==0:        e=1        breakif e=……

1157: 亲和数

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

题解 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(……