蓝桥杯算法提高VIP-单词个数统计 (C语言代码) 摘要:解题思路:判断当前这个是字母,而且后面的那个不是字母,则表示一个单词结束。参考代码:#include <stdio.h> #include <string.h> int main() { …… 题解列表 2018年09月09日 0 点赞 1 评论 1651 浏览 评分:0.0
蓝桥杯算法提高VIP-字符串比较 (C语言代码) 摘要:解题思路: 自己写一个mystrcmp函数实现strcmp函数的功能。参考代码:#include <stdio.h> int mystrcmp(char s1[],char s2[]) { …… 题解列表 2018年09月09日 1 点赞 0 评论 1721 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ float a,b,c,d,x[…… 题解列表 2018年09月09日 0 点赞 0 评论 1545 浏览 评分:0.0
循环入门练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i=0; int sum=0; for(i=1;i<1000;i++) { i…… 题解列表 2018年09月10日 1 点赞 1 评论 1477 浏览 评分:0.0
蓝桥杯算法提高VIP-输出正反三角形 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() { int m,n; int i,j; scanf("%…… 题解列表 2018年09月10日 0 点赞 0 评论 1484 浏览 评分: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 评论 1032 浏览 评分:0.0
蓝桥杯算法提高VIP-理财计划 (C语言代码) 摘要:解题思路:注意复利,下一个月的钱为newmoney=newmoney+money注意事项:参考代码:#include <stdio.h> int main() { int money,mont…… 题解列表 2018年09月10日 0 点赞 0 评论 1581 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意八进制和十进制的区别就行了,这是一道基础题注意事项:%d是十进制,%o是八进制参考代码:#include<stdio.h>int main(){ int n; scanf("%d"…… 题解列表 2018年09月11日 0 点赞 0 评论 1325 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:首先建立一个数组,将现有的数按照顺序输入进数组内,再将数组内的数倒叙输出即可。注意事项:数组是从0开始计算的。参考代码:#include<stdio.h>int main(){ int a[…… 题解列表 2018年09月11日 1 点赞 0 评论 1547 浏览 评分:0.0
蓝桥杯基础练习VIP-报时助手 (C语言代码) 摘要:解题思路:x/21: 来表示20以内的数;超过部分用求余 x%21 来表示; 用得到的数的大小表示 a[i]中的 i 的值,从而表示出字符串 char a[21][10]={"zero","on…… 题解列表 2018年09月11日 10 点赞 0 评论 1926 浏览 评分:0.0