蓝桥杯算法提高VIP-最小乘积(提高型) (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int M=10001; in…… 题解列表 2018年03月27日 0 点赞 0 评论 1224 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (C语言代码)通俗易懂 复习一下二维数组名作为函数参数 摘要: 借此题复习一下二维数组作为函数参数的情况。 因为二维数组名是指向它第一个元素的指针,而二维数组的元素为一维数组,所以二维数组名就是一个数组指针。故若要将二维数组名作为参数传入调用函数时,…… 题解列表 2018年03月27日 2 点赞 1 评论 912 浏览 评分:7.3
蓝桥杯算法提高VIP-和最大子序列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=100001; int map[M]; int Max;…… 题解列表 2018年03月27日 0 点赞 0 评论 745 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.2 (C语言代码)如何使用scanf函数接收空格符 摘要:scanf()和gets()都可以用来从标准输入接收一个字符串,区别如下:get()函数:1)gets()从标准输入设备读取字符串,以回车结束读取,使用'\0'结尾,回车符'\…… 题解列表 2018年03月27日 2 点赞 0 评论 1394 浏览 评分:8.0
C语言程序设计教程(第三版)课后习题9.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Mod(x,y) x=x%yint main(){ int x,y; scanf("%d %d",&x,&y…… 题解列表 2018年03月27日 0 点赞 0 评论 670 浏览 评分:0.0
C二级辅导-进制转换 (Java代码) 摘要:解题思路:这个题其实就是需要把十进制转化为八进制就可以了,而我们在java中学习不就刚好学习到这样的 方法了吗,下面我列举了很多的进制之间的转换,希望对大家能有点帮助 int n1 = 14; …… 题解列表 2018年03月27日 3 点赞 1 评论 2472 浏览 评分:9.9
【数组的距离】 (C语言代码) 摘要:#include<stdio.h>#include<math.h>int main(){ int m,n; int a[1000],t,min=999999; scanf("%d %…… 题解列表 2018年03月27日 0 点赞 0 评论 1117 浏览 评分:0.0
排列 (C语言代码) 摘要:解题思路:注意事项:不用排序参考代码:#include <stdio.h>int main(void){ int i, n; scanf("%d", &n); for (i = 1;i <= n;i+…… 题解列表 2018年03月27日 0 点赞 0 评论 1377 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d", &a, &b); for (c=a;;c++…… 题解列表 2018年03月27日 0 点赞 0 评论 653 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;printf("请输入三个整数");scanf("%d,%d,%d",&a,&b,&c);in…… 题解列表 2018年03月27日 1 点赞 0 评论 606 浏览 评分:0.0