题解 1157: 亲和数

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1157: 亲和数m.

摘要:解题思路:注意事项:参考代码:package function; import java.util.Scanner; //题目 1157: 亲和数 public class t_1157 { ……

~~求亲和数~~

摘要: #include int main() { int m; scanf("%d",&m); while(m--)//循环……

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

1157: 亲和数

摘要:```cpp #include using namespace std; int qhs(int x,int y){ int a=0,b=0; for(int i=1;i……

1157: 亲和数(C++)

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

1157题解(C语言)

摘要:```c #include // 函数 yue_shu 用于计算一个整数 n 的所有真约数(除了它本身)的和 int yue_shu(int n){ int sum = 0; //……