1017-完数的判断 摘要:解题思路:简单的for循环即可实现此功能。注意事项:参考代码:void test01(int n){ int i; int j; int sum; int arr[100]; if…… 题解列表 2023年06月21日 0 点赞 0 评论 675 浏览 评分: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 评论 503 浏览 评分:0.0
完数的判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); for(int i=2;i<=n;i++)//…… 题解列表 2023年05月28日 0 点赞 0 评论 586 浏览 评分:0.0
[编程入门]完数的判断 ```c#include#includeintFind(intn,intarr[]){memset(arr,0,sizeof(int)*200);arr[0]=1;intsum=0,j=1;for(inti=2;i 题解列表 2023年04月27日 0 点赞 0 评论 611 浏览 评分:9.9 1017题: 完数的判断 摘要:# 自己写的代码 ```c #include int main(){ int n; scanf("%d",&n); for(int i=1;i…… 题解列表 2023年04月27日 0 点赞 0 评论 556 浏览 评分: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 评论 487 浏览 评分: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 评论 422 浏览 评分:0.0 完数的判断——题解(C语言代码) 不用指针不用数组,仅for循环嵌套即可 摘要:解题思路:需要用到两个临时变量i j;j用来排1~n的所有整数,i用来排1~j的所有整数(以获取其所有可能的因数)。注意事项:注意b一定要在合适的位置清零参考代码:#includeint main(v…… 题解列表 2023年01月02日 0 点赞 0 评论 721 浏览 评分:9.9 编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:// [编程入门]完数的判断 #include<stdio.h> int fun(int n); void func(int x); int main() { …… 题解列表 2023年01月01日 0 点赞 0 评论 582 浏览 评分:9.9 [编程入门]完数的判断 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; int len=0; int arr[…… 题解列表 2022年12月09日 0 点赞 0 评论 457 浏览 评分:9.9 « 12345678...2728 »
1017题: 完数的判断 摘要:# 自己写的代码 ```c #include int main(){ int n; scanf("%d",&n); for(int i=1;i…… 题解列表 2023年04月27日 0 点赞 0 评论 556 浏览 评分: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 评论 487 浏览 评分: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 评论 422 浏览 评分:0.0
完数的判断——题解(C语言代码) 不用指针不用数组,仅for循环嵌套即可 摘要:解题思路:需要用到两个临时变量i j;j用来排1~n的所有整数,i用来排1~j的所有整数(以获取其所有可能的因数)。注意事项:注意b一定要在合适的位置清零参考代码:#includeint main(v…… 题解列表 2023年01月02日 0 点赞 0 评论 721 浏览 评分:9.9
编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:// [编程入门]完数的判断 #include<stdio.h> int fun(int n); void func(int x); int main() { …… 题解列表 2023年01月01日 0 点赞 0 评论 582 浏览 评分:9.9
[编程入门]完数的判断 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; int len=0; int arr[…… 题解列表 2022年12月09日 0 点赞 0 评论 457 浏览 评分:9.9