1157: 亲和数m. 摘要:解题思路:注意事项:参考代码:package function; import java.util.Scanner; //题目 1157: 亲和数 public class t_1157 { …… 题解列表 2024年02月20日 0 点赞 0 评论 135 浏览 评分:0.0
~~求亲和数~~ 摘要: #include int main() { int m; scanf("%d",&m); while(m--)//循环…… 题解列表 2024年03月19日 0 点赞 0 评论 159 浏览 评分:0.0
1157亲和数(简单的统计约数求和) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N; cin >> N; while (N) { int a…… 题解列表 2024年07月09日 0 点赞 0 评论 172 浏览 评分:0.0
题解 1157: 亲和数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll a[100000],b[10000…… 题解列表 2024年07月10日 0 点赞 0 评论 116 浏览 评分:0.0
1157: 亲和数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll qinhe(ll x){ l…… 题解列表 2024年07月10日 0 点赞 0 评论 167 浏览 评分:0.0
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 评论 119 浏览 评分: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 评论 156 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b,n,sum1=0,sum2=0; scanf("%d",&n); whil…… 题解列表 2024年11月21日 0 点赞 0 评论 226 浏览 评分:0.0
1157: 亲和数 递归写的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int yssum(int a,int b){ if (b >= a) { return 0; } …… 题解列表 2024年12月12日 0 点赞 0 评论 237 浏览 评分:0.0
2025元旦快乐,马原背了吗 摘要:解题思路:#include<stdio.h> int factsum(int n); int judge(int a,int b); int main(void) { int a, …… 题解列表 2024年12月31日 0 点赞 0 评论 174 浏览 评分:0.0