[编程入门]Sn的公式求和-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,t=0,i,j; scanf("%d",&n); …… 题解列表 2020年11月13日 0 点赞 0 评论 856 浏览 评分:9.9
母牛生小牛-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a[60]={0,1,1,1}; scanf("%d",&n); for(i=4;i<n+1;i…… 题解列表 2020年11月13日 0 点赞 0 评论 920 浏览 评分:5.0
整除的尾数-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int x,int n,int *a){ int i,j; j=0; x=x*100; for(i=0;i<100…… 题解列表 2020年11月13日 0 点赞 0 评论 799 浏览 评分:0.0
蓝桥杯算法提高VIP-队列操作-题解(C语言代码) 摘要:解题思路:使用链队列注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#define stype inttypedef struct node{ struct …… 题解列表 2020年11月13日 0 点赞 0 评论 558 浏览 评分:0.0
贷款计算-题解(C语言代码) 摘要:```c #include int main() { int sum,month; //定义变量 double per_month=0,rates; //定义为双精度浮…… 题解列表 2020年11月13日 0 点赞 0 评论 689 浏览 评分:0.0
IP判断-题解(C++代码)substr函数用一下 摘要:##### 思路(方法很多,建议按照自己的思路来): ##### ①:判断是否只有三个'.' ##### ②:截取每个小段的字符串,以'.'作为分隔 ##### ③:判断截取的字符串每一个字符是…… 题解列表 2020年11月13日 0 点赞 0 评论 711 浏览 评分:0.0
[编程入门]完数的判断-题解(C语言代码) 摘要:解题思路:先找到完数,将其存储在数组中,再遍历数组,求他的因子注意事项:参考代码:#include<stdio.h> int main() { int a[20]={0};//赋值做标记 …… 题解列表 2020年11月13日 0 点赞 2 评论 855 浏览 评分:8.0
C语言训练-邮票组合问题*-题解(Java代码) 摘要:解题思路:使用集合容器,里面的元素无序且不重复注意事项:参考代码:import java.util.HashSet; public class Main { public static…… 题解列表 2020年11月13日 0 点赞 0 评论 610 浏览 评分: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 评论 606 浏览 评分:9.9
Hanoi双塔问题(并解决n非常大的情况)-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:/********************************************/ /*规律算法:找规律易知,汉诺塔的转移次数为2…… 题解列表 2020年11月13日 0 点赞 0 评论 1022 浏览 评分:0.0