淘淘的名单 (C语言代码) 摘要:#include <stdio.h>#include <string.h>int main(){ char str[5];//最大长度5 int n; scanf("%d",&n);//输入n次 wh…… 题解列表 2017年09月27日 2 点赞 0 评论 1368 浏览 评分:0.0
【排队买票】 (C语言代码) 摘要:解题思路:将排队看做M人的排列问题,在M!个排列中寻找符合条件的排列(排队时只要一元的人数大于等于2元就有零钱),采用回溯法(深度优先算法)恭喜我成为继小方之后第二个AC此题的男人#include <…… 题解列表 2017年09月27日 6 点赞 1 评论 1066 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("***********/n"); print… 题解列表 2017年09月27日 0 点赞 0 评论 812 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:#include<stdio.h>int main(){ char c1='C',c2 = 'h',c3= 'i',c4 = 'n',…… 题解列表 2017年09月27日 0 点赞 0 评论 753 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:注意要用double类型的存储参考代码:#include<stdio.h>double fact(int b){ int p; double m=1.0; …… 题解列表 2017年09月27日 0 点赞 0 评论 966 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************\n"); printf("hello world\n"); pr…… 题解列表 2017年09月27日 0 点赞 0 评论 578 浏览 评分:0.0
C语言训练-数字母 (C语言代码) 摘要:#include <stdio.h>#include<string.h>int main(){ char str[100]; int i,n=0,c=0; gets(str); n=strlen(st…… 题解列表 2017年09月27日 0 点赞 0 评论 872 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:#include <stdio.h>#include<string.h>//编译预处理命令,用于下面求字符串长度int main(){ char str[100];//字符串长度为100 int i,…… 题解列表 2017年09月27日 0 点赞 0 评论 1073 浏览 评分:9.9
C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:采用两层循环,不需要输入注意事项:数据较大,不能用整形,需要用double类型存储数据参考代码:#include<stdio.h>int main(){ int a,b; …… 题解列表 2017年09月27日 0 点赞 0 评论 1011 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:看懂题目意思,是输入十个整数后不需要排序,再逆序输出。不多说,直接上代码注意事项:参考代码:#include<stdio.h>int main(){ int mart[100]; …… 题解列表 2017年09月27日 3 点赞 0 评论 1137 浏览 评分:9.0