2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x[10],i,min,j,temp; for(i=0;i<10;i++) { …… 题解列表 2017年10月05日 0 点赞 0 评论 915 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.3 (C++代码) 摘要:解题思路:注意事项:sum和jg一定要初始化,sum+=jg要在前面参考代码#include<iostream>using namespace std;int main(){ int a=2,n…… 题解列表 2017年10月05日 0 点赞 2 评论 1388 浏览 评分:9.9
【金明的预算方案】 (C++代码) 摘要:#include<iostream> #include<cstring> using namespace std; int N,n,v[61],m[61],p[61],link[61][3…… 题解列表 2017年10月05日 3 点赞 0 评论 1294 浏览 评分:0.0
【金明的预算方案】 (C++代码) 摘要:#include<iostream> #include<cstring> #include<algorithm> using namespace std; int N,n,v[61],m…… 题解列表 2017年10月05日 0 点赞 0 评论 1212 浏览 评分:5.8
C语言程序设计教程(第三版)课后习题7.2 (C语言代码) 摘要:解题思路:① 以a[0]为基准,遍历a[0]-a[9]找出最小项,将最小项赋值给a[0];② a[0]往后一个元素为a[1],然后以a[1]为基准,遍历a[1]-a[9]找出最小项,将最小项赋值给a[…… 题解列表 2017年10月04日 9 点赞 2 评论 1049 浏览 评分:0.0
三角形 (C++代码)递推 摘要:#include<iostream> using namespace std; int T , n , A[100][100],d[100][100]; int main(void){ …… 题解列表 2017年10月04日 0 点赞 0 评论 1155 浏览 评分:0.0
三角形 (C++代码)递归(存在大量重复计算,容易出现时间超限) 摘要:#include<iostream> using namespace std; int T , n , A[100][100]; int solve(int i,int j){ …… 题解列表 2017年10月04日 0 点赞 0 评论 1265 浏览 评分:9.9
三角形 (C++代码)记忆化搜索 摘要://记忆化搜索 #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> using namespa…… 题解列表 2017年10月04日 2 点赞 0 评论 1521 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ int f; float c; …… 题解列表 2017年10月04日 0 点赞 0 评论 958 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){printf("hello world\n");return 0;}…… 题解列表 2017年10月04日 0 点赞 0 评论 802 浏览 评分:0.0