题解 1157: 亲和数
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll a[100000],b[10000……
1157亲和数(简单的统计约数求和)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N; cin >> N; while (N) { int a……
1157: 亲和数m.
摘要:解题思路:注意事项:参考代码:package function;
import java.util.Scanner;
//题目 1157: 亲和数
public class t_1157 {
……
c++(格式工整清晰,容易理解)
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
void solve(int a,int b)
{
int sum_a=0,……