[编程入门]电报加密-题解(C++代码) 摘要:解题思路:wu注意事项:新手使用参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char a[10000]; …… 题解列表 2020年12月05日 0 点赞 0 评论 1348 浏览 评分:9.9
二级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 评论 1764 浏览 评分:9.9
蛇行矩阵-题解(C语言代码)较为简洁 摘要:解题思路:注意事项:参考代码:#includeint main(){ int n,i,m,q,x=1,y=0,p; scanf("%d",&n); for(i=n;i>=1;i…… 题解列表 2020年12月05日 0 点赞 0 评论 510 浏览 评分:9.9
[偶数求和]-题解(C语言代码) 摘要:解题思路:注意事项:以文件末尾结尾(EOF)参考代码:#include<stdio.h>int main(){ int a[100]; for(int i=1;i<=100;i++){ a[i-1]…… 题解列表 2020年12月05日 0 点赞 0 评论 843 浏览 评分:9.9
蓝桥杯算法提高VIP-素数求和-题解(C语言代码) 摘要:#include<stdio.h>#include<math.h>int main(){ int n,i,j,flag;long sum=0; scanf("%d",&n); for(i=2;i<=n…… 题解列表 2020年12月05日 0 点赞 0 评论 686 浏览 评分:9.9
蓝桥杯算法提高VIP-质因数-题解(C语言代码) 摘要:#include<stdio.h>int main(){ int n,i,j,k=0; int a[100]; scanf("%d",&n); i=n; while(i>0){ for(j=2;j<…… 题解列表 2020年12月05日 0 点赞 0 评论 587 浏览 评分:9.9
蓝桥杯算法提高VIP-质因数2-题解(C语言代码) 摘要:#include<stdio.h>int main(){ int n,i,j,k=0; int a[100]; scanf("%d",&n); i=n; while(i>0){ for(j=2;j<…… 题解列表 2020年12月05日 0 点赞 0 评论 1370 浏览 评分:9.9
蓝桥杯算法训练VIP-反置数-题解(C语言代码) 摘要:#include<stdio.h>int main(){ int m,n,sum1=0,sum2=0,sum=0,sum3,i,j; scanf("%d%d",&m,&n); i=m; j=n; wh…… 题解列表 2020年12月05日 0 点赞 0 评论 923 浏览 评分:9.9
蓝桥杯算法提高VIP-寻找三位数-题解(C++代码) 摘要:解题思路:c++ dfs(深度优先— 先全排列 后筛选的思想)注意事项: 数组a是从1开始的而不是 0, 将1-9 位的数字放入a[1]-a[9]的数组中 b[1]-b[9]判断该数是否使用过;参…… 题解列表 2020年12月06日 0 点赞 0 评论 591 浏览 评分:9.9
[编程入门]最大公约数与最小公倍数-题解(C语言代码) 摘要:#include<stdio.h>int main(){ int a,b,p,temp; scanf("%d%d",&a,&b); p=a*b; if(a>b){ temp=a; a=b; b=…… 题解列表 2020年12月06日 0 点赞 0 评论 601 浏览 评分:9.9