C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:简单明了!!!#include<stdio.h>int main(){ void Mobile(int *array,int n,int m);//声明函数 int n,m; int i; scan…… 题解列表 2019年04月07日 0 点赞 0 评论 877 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.8 (C语言代码) ————笔记重新看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct student{ int number; int data…… 题解列表 2019年04月07日 0 点赞 0 评论 906 浏览 评分:0.0
明明的随机数 (C++代码)STL中的set不是刚刚合适嘛 摘要:解题思路: C++中的set容器对输入的数自动排序并去掉重复的注意事项:参考代码:#include<iostream> #include<set> using namespa…… 题解列表 2019年04月13日 0 点赞 0 评论 913 浏览 评分:0.0
Hello, world! (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int arr[100]; int n=0; while(scanf("%d",&arr[n]…… 题解列表 2019年04月07日 0 点赞 0 评论 552 浏览 评分:0.0
蓝桥杯算法提高VIP-数组输出 (小白易懂) 摘要:解题思路:注意事项:1·因为是双重循环,所以在判断时要注意两次连着退出。2·输出的是绝对值最大的数的绝对值!参考代码:#include<stdio.h>#include<math.h>int main…… 题解列表 2019年04月07日 1 点赞 0 评论 716 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n, m, i, j; char a[100], b[1…… 题解列表 2019年04月08日 0 点赞 0 评论 472 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C++代码) 摘要:解题思路:题目只说是排好序的数列,可没说是升序还是降序。注意事项:参考代码:#include<iostream>using namespace std;int main(){ const int…… 题解列表 2019年04月08日 0 点赞 0 评论 629 浏览 评分:0.0
查找最大元素 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "string.h"int main(){ char str[150]; memset(str,0,sizeof(s…… 题解列表 2019年04月08日 1 点赞 0 评论 807 浏览 评分:0.0
蓝桥杯算法提高VIP-阶乘差 (C语言代码) 摘要:解题思路:就是一个阶乘的函数(递归),然后就带公式注意事项:long long类型要注意参考代码:#include<stdio.h>long long int jiec(long long int n…… 题解列表 2019年04月08日 1 点赞 0 评论 790 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:解题思路:用递归和更相相减术解决问题注意事项:参考代码:#include<stdio.h>#include<math.h>static int gxxjs(int a, int b);int the_…… 题解列表 2019年04月08日 0 点赞 0 评论 471 浏览 评分:0.0