C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int Max(int a,int b)//返回最大公因数{ int t,n=1; if(a<b) { …… 题解列表 2018年05月06日 0 点赞 0 评论 1061 浏览 评分:0.0
检查金币 (Java代码) 解题思路:注意事项:参考代码:publicclass检查金币{publicstaticvoidmain(String[]args){//TODOAuto-generatedmethodstubScannerin=newScanner(System.in);while(in.hasNext()){int 题解列表 2018年05月06日 0 点赞 0 评论 1715 浏览 评分:2.0
C语言训练-"水仙花数"问题1 (C语言代码) 解题思路:注意事项:参考代码:importjava.util.Scanner;publicclass水仙花数{publicstaticvoidmain(String[]args){ints=0;Scannersc=newScanner(System.in);inti=sc.nextInt();inta 题解列表 2018年05月06日 1 点赞 0 评论 1198 浏览 评分:0.0
蓝桥杯算法提高VIP-特殊的质数肋骨 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> #include<algorithm> using namespace std; const…… 题解列表 2018年05月06日 0 点赞 0 评论 2190 浏览 评分:9.9
矩阵转置 (Java代码) 解题思路:注意事项:参考代码:publicclass矩阵转置{publicstaticvoidmain(String[]args){//TODOAuto-generatedmethodstubScannerin=newScanner(System.in);intN=in.nextInt();int[] 题解列表 2018年05月06日 0 点赞 0 评论 2310 浏览 评分:0.0
盐水的故事 (Java代码) 解题思路:注意事项:参考代码:publicclass盐水的故事{publicstaticvoidmain(String[]args){//TODOAuto-generatedmethodstubScannerin=newScanner(System.in);intVUL=in.nextInt();in 题解列表 2018年05月06日 0 点赞 0 评论 1706 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.3 (C语言代码) 摘要:解题思路:注意事项:一定一定读懂题目,在写代码!要知道最大值与最小值不能同时求出!若同时求,则程序出错例如: 10 1 2 3 4 5 6 7 8 9结果为:9 10 2 3 4 5 6 7 8 …… 题解列表 2018年05月06日 0 点赞 0 评论 2327 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:我的编译器没提示错误,但在网页提交提示答案错误参考代码:#include<stdio.h>void main(){ int i,x,a,b,c,d,e; scanf("%d",&x…… 题解列表 2018年05月06日 0 点赞 0 评论 1179 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:学会优化你的代码,学会利用已有方法。参考代码:#include<stdio.h>#include<math.h>double fact(int n){ double j=1; fo…… 题解列表 2018年05月06日 0 点赞 0 评论 1472 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:注意看清题目,区分abs()和fabs()!参考代码:#include<stdio.h>#include<math.h>double t;double f(double x){ i…… 题解列表 2018年05月06日 0 点赞 0 评论 1724 浏览 评分:0.0