2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include<stdio.h> int ctof(int c); int main() { int i=-100; for(;i<=150;i+=5) prin…… 题解列表 2018年11月23日 0 点赞 0 评论 1172 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:#include<stdio.h> #include"math.h" int main() { int n,row,col,temp,matrix[6][6],i,j,max_elem…… 题解列表 2018年11月23日 0 点赞 0 评论 858 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:#include<stdio.h> int main() { int scores[1000],score,i=0,j,excellent=0,pass=0,unpass=0; …… 题解列表 2018年11月23日 0 点赞 0 评论 1000 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C++描述 点开有惊喜) 摘要:解题思路:先找最小的数的角标,再进行交换的工作注意事项:没什么需要注意的,仔细就行了,注意绝对值的使用 abs(m)是对m取绝对值,用abs的时候注意要定义一个math参考代码#include <io…… 题解列表 2018年11月23日 0 点赞 0 评论 1046 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include<stdio.h> double fact(int n); int main() { int n,i; scanf("%d",&n); double…… 题解列表 2018年11月23日 0 点赞 0 评论 924 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:输入3个值,运用?:运算符算出最大值。注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d"…… 题解列表 2018年11月23日 3 点赞 0 评论 568 浏览 评分:0.0
C语言训练-计算t=1+1/2+1/3+...+1/n (C++代码) 摘要:解题思路:没什么好说的,直接把商加起来就行参考代码:#include<bits/stdc++.h> using namespace std; int main(){ int n; doub…… 题解列表 2018年11月23日 0 点赞 0 评论 1352 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.7 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main6 { public static void main(String []arg…… 题解列表 2018年11月24日 0 点赞 0 评论 648 浏览 评分:0.0
蓝桥杯2013年第四届真题-危险系数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <vector> #include <cstring> using namespace std; v…… 题解列表 2018年11月24日 1 点赞 0 评论 907 浏览 评分:0.0
迷宫问题 (C++代码) 摘要:解题思路:使用宽度优先搜索,在计算最短路径时采用坐标方式计算d[nextx][nexty]=d[nowx][nowy]+1来更新路径值注意事项:坐标存储有两种方式pair<int,int>p或者结构体…… 题解列表 2018年11月24日 1 点赞 0 评论 872 浏览 评分:0.0