1017: [编程入门]完数的判断 摘要:```cpp #include int n,i,sum=0,a[1000],j=0; void yin(int n) { j=0; sum=0; for(i=1;i…… 题解列表 2022年12月07日 0 点赞 0 评论 142 浏览 评分:0.0
编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int n,sum,a; cin>>n; int list[100]…… 题解列表 2023年01月06日 0 点赞 0 评论 114 浏览 评分:0.0
完数的判断 c++代码 摘要: #include #include #include using namespace std; signed main()…… 题解列表 2023年01月11日 0 点赞 0 评论 153 浏览 评分:0.0
完数的判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,t=0; scanf("%d", &n); for (t = 2; t < n; t++) { i…… 题解列表 2023年02月01日 0 点赞 0 评论 136 浏览 评分:0.0
编写题解 1017: [编程入门]完数的判断 摘要:````c #include #define max 1001 int main() { int n,i,j,a[max],l; scanf("%d",&n); f…… 题解列表 2023年03月02日 0 点赞 0 评论 127 浏览 评分:0.0
分解质因子并保存 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;void isWanshu(int n){ int sum=0,k = 0; …… 题解列表 2023年03月09日 0 点赞 0 评论 139 浏览 评分:0.0
1017: [编程入门]完数的判断(新手) 摘要:解题思路:其实思路还是比较简单明确的,主要在于减少循环次数,减少运行时间参考代码:N=int(input()) for i in range(6,N+1): #从6开始,减少循环次数 a…… 题解列表 2023年03月30日 0 点赞 0 评论 236 浏览 评分:0.0
1017题: 完数的判断 摘要:# 自己写的代码 ```c #include int main(){ int n; scanf("%d",&n); for(int i=1;i…… 题解列表 2023年04月27日 0 点赞 0 评论 137 浏览 评分:0.0
完数的判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); for(int i=2;i<=n;i++)//…… 题解列表 2023年05月28日 0 点赞 0 评论 163 浏览 评分:0.0
完数的判断 摘要:#include <stdio.h> int main(){ int sum=1, i=2,y=2,N=0; scanf("%d",&N); for(i;i<=N;i++){ su…… 题解列表 2023年06月19日 0 点赞 0 评论 101 浏览 评分:0.0