[亲和数]-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int yuehe(int x){ int sum=1; for(int i=2;i<=x/2;i++){ if(x%i==0) …… 题解列表 2020年12月05日 0 点赞 0 评论 428 浏览 评分:0.0
二级C语言-计算素数和-题解(C语言代码) 摘要:#include <stdio.h>#include <math.h>int isprime(int x){ int i,j; if(x==2) return 1; i…… 题解列表 2020年12月05日 0 点赞 0 评论 1826 浏览 评分:9.9
字符排列问题 高中排列组合的知识-不会的自己去补习-让你耳目一新 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int jiecheng(int m) { return(m==1?1:m*(m-1)…… 题解列表 2020年12月05日 0 点赞 0 评论 1468 浏览 评分:4.0
[编程入门]电报加密-题解(C++代码) 摘要:解题思路:wu注意事项:新手使用参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char a[10000]; …… 题解列表 2020年12月05日 0 点赞 0 评论 1408 浏览 评分:9.9
字符串的修改-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(void) { char a[200]; char b[200]…… 题解列表 2020年12月05日 0 点赞 3 评论 997 浏览 评分:6.0
[编程入门]完数的判断-题解(C++代码) 摘要:解题思路:一级循环,先找出完数,二级循环 ; 因子条件判断完数 ; 完数后面的英文 , 三级循环,从而列出因子 ; 重新s归零。注意事项:参考代码:#include <iostream>using n…… 题解列表 2020年12月05日 0 点赞 0 评论 761 浏览 评分:0.0
数据结构-字符串连接-题解(C语言代码) 摘要:解题思路:这里用调用函数可以使程序更简洁注意事项:参考代码:#include#includeint main(){ int check (char x[1000], int b );//对被调用…… 题解列表 2020年12月05日 0 点赞 1 评论 1335 浏览 评分:6.0
蓝桥杯算法训练VIP-比较字符串-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#include <iostream>using namespace std;int main(){ string…… 题解列表 2020年12月05日 0 点赞 0 评论 525 浏览 评分:0.0
蓝桥杯算法提高VIP-数字黑洞-题解(C语言代码) 摘要:#include<stdio.h>int main(){ int n,sum1,sum2,i,j,temp,count=0; int a[4]; scanf("%d",&n); while(n!=61…… 题解列表 2020年12月05日 0 点赞 1 评论 882 浏览 评分:9.3
优质题解 [编程入门]自定义函数处理素数-题解(C语言代码) 摘要: 解题思路以及注意事项 1.首先了解下素数; 素数是指在大于1的自然数中,除了1和它本身以外不再有其他因数的自然数。 (也就是只有1跟它本身能整除掉这个数) 2.我们可以利用…… 题解列表 2020年12月05日 0 点赞 23 评论 10865 浏览 评分:8.0