动态二维数组! Vector向量等多种解法。(C/C++语言代码) 摘要:解题思路:C语言动态开辟二维数组注意事项:记得释放内存!参考代码:#include <stdio.h> #include <stdlib.h> #include <math.h> int mai…… 题解列表 2019年01月03日 1 点赞 0 评论 1276 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:#include<stdio.h> #include <stdlib.h> #include <math.h> int main() { int n,row,col; int **ma…… 题解列表 2019年01月03日 0 点赞 0 评论 1232 浏览 评分:0.0
C语言训练-"水仙花数"问题2 (C语言代码) 摘要:解题思路:自己看注意事项: 换行参考代码:#include<stdio.h>int main() { int a; for(a=100; a<1000; a++) { if((a/…… 题解列表 2019年01月03日 0 点赞 0 评论 547 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:函数的应用注意事项:保留两位数参考代码:#include<stdio.h>#include<math.h>int main() { float x; scanf("%f",&x); if(x…… 题解列表 2019年01月03日 0 点赞 0 评论 777 浏览 评分:0.0
寻找奇整数 (C++代码) 摘要:解题思路:把原题中偶数都改成“-1”,然后直接查询给出的数字在列表中的位置参考代码:#include <iostream> using namespace std; int main() …… 题解列表 2019年01月03日 1 点赞 0 评论 1062 浏览 评分:0.0
【出圈】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ int n,m,i,curans,j; while(scan…… 题解列表 2019年01月04日 0 点赞 0 评论 751 浏览 评分:0.0
杨辉三角 (Java代码) 摘要:解题思路: 使用二维数组保存数据注意事项: 生成数据可以直接输出,提高效率,不用二次遍历参考代码:import java.util.Scanner; public class Yan…… 题解列表 2019年01月04日 2 点赞 0 评论 1093 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:#include <stdio.h> #include <math.h> void delta1(int a,int b,int c){ float delta=b*b-4.0*a*…… 题解列表 2019年01月04日 0 点赞 0 评论 769 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:解题思路:注意事项:自己写的,不是很懂,但是对了,#define N 1#define S 2这没弄明白参考代码:#include<stdio.h>#define N 1#define S 2vo…… 题解列表 2019年01月04日 0 点赞 0 评论 585 浏览 评分:0.0
DNA (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void f(int a);void output(int a,int c);char str[100][100];int a[15][…… 题解列表 2019年01月04日 0 点赞 0 评论 960 浏览 评分:0.0