一目了然- 亲和数用while、for 摘要:解题思路:注意事项:参考代码:#include<iostream>usingnamespacestd;intmain(){ int&nb…… 题解列表 2025年03月12日 0 点赞 0 评论 101 浏览 评分:0.0
亲和数c++语言 摘要:#include<iostream> using namespace std; int Yue(int n) { int sum = 0; for (int i = 1; i < n;…… 题解列表 2024年10月19日 0 点赞 0 评论 124 浏览 评分:0.0
1157: 亲和数(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin >> n; while(…… 题解列表 2024年08月30日 1 点赞 0 评论 474 浏览 评分:9.9
1157: 亲和数 摘要:```cpp #include using namespace std; int qhs(int x,int y){ int a=0,b=0; for(int i=1;i…… 题解列表 2024年07月25日 0 点赞 0 评论 102 浏览 评分:0.0
1157: 亲和数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll qinhe(ll x){ l…… 题解列表 2024年07月10日 0 点赞 0 评论 140 浏览 评分:0.0
题解 1157: 亲和数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll a[100000],b[10000…… 题解列表 2024年07月10日 0 点赞 0 评论 100 浏览 评分:0.0
1157亲和数(简单的统计约数求和) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N; cin >> N; while (N) { int a…… 题解列表 2024年07月09日 0 点赞 0 评论 137 浏览 评分:0.0
c++(格式工整清晰,容易理解) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; void solve(int a,int b) { int sum_a=0,…… 题解列表 2024年02月06日 0 点赞 0 评论 159 浏览 评分:9.9
1157: 亲和数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int zys(int x){ int sum=0; for(int…… 题解列表 2023年09月09日 0 点赞 0 评论 111 浏览 评分:9.9
亲和数(超简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int f(int n) //求约数和 { int i,s=0…… 题解列表 2022年11月01日 0 点赞 0 评论 257 浏览 评分:9.9