蓝桥杯算法提高VIP-输出正反三角形 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() { int m,n; int i,j; scanf("%…… 题解列表 2018年09月10日 0 点赞 0 评论 834 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf ("%d%d",&a,&b); printf ("%d",a+b…… 题解列表 2018年09月10日 0 点赞 0 评论 708 浏览 评分:0.0
蓝桥杯算法提高VIP-理财计划 (C语言代码) 摘要:解题思路:注意复利,下一个月的钱为newmoney=newmoney+money注意事项:参考代码:#include <stdio.h> int main() { int money,mont…… 题解列表 2018年09月10日 0 点赞 0 评论 1200 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意八进制和十进制的区别就行了,这是一道基础题注意事项:%d是十进制,%o是八进制参考代码:#include<stdio.h>int main(){ int n; scanf("%d"…… 题解列表 2018年09月11日 0 点赞 0 评论 932 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:首先建立一个数组,将现有的数按照顺序输入进数组内,再将数组内的数倒叙输出即可。注意事项:数组是从0开始计算的。参考代码:#include<stdio.h>int main(){ int a[…… 题解列表 2018年09月11日 1 点赞 0 评论 982 浏览 评分:0.0
蓝桥杯基础练习VIP-报时助手 (C语言代码) 摘要:解题思路:x/21: 来表示20以内的数;超过部分用求余 x%21 来表示; 用得到的数的大小表示 a[i]中的 i 的值,从而表示出字符串 char a[21][10]={"zero","on…… 题解列表 2018年09月11日 10 点赞 0 评论 1493 浏览 评分:0.0
字符串中间和后边*号删除 (C语言代码) 摘要:解题思路:很简单的题目,题目修改后就可以通过了。注意事项:参考代码:#include <string.h> #include<stdio.h> #include<conio.h> void fu…… 题解列表 2018年09月12日 2 点赞 0 评论 1059 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,max,min,i=1; scanf("%d %d",&a,&b); for(…… 题解列表 2018年09月11日 0 点赞 0 评论 684 浏览 评分:0.0
蓝桥杯算法提高VIP-计算质因子 (C语言代码) 摘要:解题思路: 先定义一个判断n是否是素数的函数,在求质因子时,尽量少判断,从3开始,只判断奇数,当然要注意最前面是否输出2,即偶数就输出2,否则肯定不输出。参考代码:#include<stdio.h> …… 题解列表 2018年09月11日 0 点赞 0 评论 1211 浏览 评分:0.0
蓝桥杯算法提高VIP-陶陶摘苹果2 (C语言代码) 摘要:解题思路:很简单的题目。注意事项:参考代码:#include<stdio.h> int main() { int m,n; int s=0,h,i; scanf("%d%d",&n,&…… 题解列表 2018年09月11日 0 点赞 0 评论 1422 浏览 评分:0.0