getchar( )和字符数组求个数 (C语言代码) 摘要:解题思路:#include <type.h>isalpha()是否是字母;isdigit()是否是数字注意事项:参考代码:#include <stdio.h> #include <ctype.h> …… 题解列表 2018年12月30日 1 点赞 0 评论 1447 浏览 评分:0.0
A+B for Input-Output Practice (IV) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b=0,n,count=0; scanf("%d ",&n); while(~sc…… 题解列表 2018年12月30日 0 点赞 0 评论 890 浏览 评分:0.0
A+B for Input-Output Practice (III) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b=0,n,count=0; scanf("%d ",&n); while(~sc…… 题解列表 2018年12月30日 0 点赞 0 评论 797 浏览 评分:0.0
A+B for Input-Output Practice (II) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b=0,n,count=0; scanf("%d ",&n); while(~sc…… 题解列表 2018年12月30日 0 点赞 0 评论 1013 浏览 评分:0.0
荣耀 (C语言代码)(emm,不知道哪里错了) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int ws(int n){ int num=0; if(n==0) num=1; else{ while(n>0) { n/=10;…… 题解列表 2018年12月29日 1 点赞 0 评论 1719 浏览 评分:0.0
永远的丰碑 (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<stdlib.h>void f(int n){ int i,*p,max; p=(int*)malloc…… 题解列表 2018年12月29日 0 点赞 0 评论 1108 浏览 评分:0.0
内部收益率 (C语言代码) 摘要:解题思路:二分法(牛顿迭代法)求解方程根注意事项:该题中函数npv(IRR)在IRR∈(-1,+∞)上是递减的,故最多有一个根;参考代码:#include <stdio.h> #include <m…… 题解列表 2018年12月29日 0 点赞 0 评论 2165 浏览 评分:2.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> //利用fabs()绝对值函数int main(){ int i,min=99999,t,xiab…… 题解列表 2018年12月29日 0 点赞 0 评论 1914 浏览 评分:0.0
C语言训练-尼科彻斯定理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a=0,i=0; while(~scanf("%d", &a)) { printf("%d*…… 题解列表 2018年12月29日 0 点赞 0 评论 999 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int main () { char str[3][100]={0},…… 题解列表 2018年12月28日 1 点赞 0 评论 1449 浏览 评分:0.0