蓝桥杯算法提高VIP-队列操作-题解(C语言代码) 摘要:解题思路:使用链队列注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#define stype inttypedef struct node{ struct …… 题解列表 2020年11月13日 0 点赞 0 评论 393 浏览 评分:0.0
贷款计算-题解(C语言代码) 摘要:```c #include int main() { int sum,month; //定义变量 double per_month=0,rates; //定义为双精度浮…… 题解列表 2020年11月13日 0 点赞 0 评论 551 浏览 评分:0.0
IP判断-题解(C++代码)substr函数用一下 摘要:##### 思路(方法很多,建议按照自己的思路来): ##### ①:判断是否只有三个'.' ##### ②:截取每个小段的字符串,以'.'作为分隔 ##### ③:判断截取的字符串每一个字符是…… 题解列表 2020年11月13日 0 点赞 0 评论 509 浏览 评分:0.0
[编程入门]完数的判断-题解(C语言代码) 摘要:解题思路:先找到完数,将其存储在数组中,再遍历数组,求他的因子注意事项:参考代码:#include<stdio.h> int main() { int a[20]={0};//赋值做标记 …… 题解列表 2020年11月13日 0 点赞 2 评论 527 浏览 评分:8.0
C语言训练-邮票组合问题*-题解(Java代码) 摘要:解题思路:使用集合容器,里面的元素无序且不重复注意事项:参考代码:import java.util.HashSet; public class Main { public static…… 题解列表 2020年11月13日 0 点赞 0 评论 392 浏览 评分:9.9
[编程入门]Sn的公式求和-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x=1,a=2,y=0,sn=0,n; scanf("%d",&n); …… 题解列表 2020年11月13日 0 点赞 0 评论 443 浏览 评分:9.9
Hanoi双塔问题(并解决n非常大的情况)-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:/********************************************/ /*规律算法:找规律易知,汉诺塔的转移次数为2…… 题解列表 2020年11月13日 0 点赞 0 评论 733 浏览 评分:0.0
C语言训练-"水仙花数"问题2-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int pow(int a,int b){ int x=a; while(b>1) { x=x*a; b--; } return x…… 题解列表 2020年11月13日 0 点赞 0 评论 276 浏览 评分:0.0
二级C语言-阶乘数列-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i; float sum=0,a=1; for(i=1;i<=30;i++) { …… 题解列表 2020年11月13日 0 点赞 0 评论 330 浏览 评分:0.0
二级C语言-计负均正-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[20],i,sum=0,b=0; float ave,c=0; …… 题解列表 2020年11月13日 0 点赞 0 评论 279 浏览 评分:0.0