A+B for Input-Output Practice (III) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF) { if(a==0&&b=…… 题解列表 2017年07月25日 0 点赞 0 评论 887 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define da(a,b,c) d=a>b?(a>c?a:c):(b>c?b:c);float zu…… 题解列表 2017年07月25日 0 点赞 0 评论 767 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:定义一个结构体变量(年、月、日),以平年为准,通过数组给每个月初始化天数,条件判断是否为闰年,如果是闰年,那么2月份为29天,通过遍历,计算出是第几天。如果是平年,则2月份为28天,计算出是…… 题解列表 2017年07月25日 5 点赞 0 评论 2277 浏览 评分:8.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************"); printf("hello word…… 题解列表 2017年07月25日 0 点赞 0 评论 779 浏览 评分:0.0
不容易系列2 (C语言代码) 摘要:解题思路:下面为大家提供两种方法斐波拉契递归算法最符合原始的解决问题方法,这种方法的优点是简洁和容易理解,缺点是时间复杂度太大,随着n的增大,运算时间将会急剧增加。因此在很多场合这种方法是不可取的。迭…… 题解列表 2017年07月25日 4 点赞 1 评论 1464 浏览 评分:9.9
统计字符 (C语言描述运用ctype.h) 摘要:解题思路:#include <ctype.h>1 字符测试函数 1> 函数原型均为int isxxxx(int) 2> 参数为int, 任何实参均被提升成整型 3> 只能正确处理处于ascii[…… 题解列表 2017年07月25日 0 点赞 0 评论 1431 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.8 (C语言代码) 摘要:#include<stdio.h> #include<stdlib.h> struct link { int id; int score; struct link …… 题解列表 2017年07月25日 1 点赞 0 评论 1246 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:#include<stdio.h> int main(void) { int n,i; char s[100][100]; scanf("%d",&n); getc…… 题解列表 2017年07月25日 1 点赞 11 评论 2335 浏览 评分:9.5
弟弟的作业 (C++代码) 摘要:#include<cstdio> #include<iostream> #include<cstring> using namespace std; int stoint(char s[]) …… 题解列表 2017年07月24日 0 点赞 0 评论 1251 浏览 评分:5.3
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:#include<iostream> #include<cstdio> using namespace std; int main(void) { int a=0,b=0,c=0,t…… 题解列表 2017年07月24日 1 点赞 0 评论 1659 浏览 评分:7.3