第一 摘要:#include<stdio.h>int Abs(int);int main(){ int i,j,num,abs_max=0,max=0,abs_num=0; int max_i = 1…… 题解列表 2017年07月31日 0 点赞 0 评论 1749 浏览 评分:0.0
数组输出 (C语言代码) 摘要:解题思路: 题不难 注意事项: 参考代码:#include<stdio.h>#include<math.h>int main(){ int a[3][4]; int i,j; for(i=0…… 题解列表 2017年08月22日 0 点赞 0 评论 1497 浏览 评分:0.0
数组输出 (C语言代码)--此题的题目描述有问题 摘要:解题思路:题目不难,但是题目描述感觉有问题。“找出该数组中绝对值最大的元素、输出该元素及其两个下标值”若输出的元素是 元素本身,怎么做都是错的。若输出的元素是元素的绝对值,此题才能通过。但是按照题目描…… 题解列表 2017年09月13日 6 点赞 4 评论 2537 浏览 评分:7.1
数组输出 (C语言代码)错误??? 摘要:解题思路:输出元素的绝对值也错了?注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,j,maxi=0,maxj=0,a[3][4…… 题解列表 2017年09月13日 0 点赞 0 评论 1180 浏览 评分:9.9
数组输出 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main(){ int a[4][5],i,j,max,max_x=1,max_y=…… 题解列表 2017年10月22日 1 点赞 0 评论 2121 浏览 评分:0.0
数组输出 (C语言代码) 摘要:#include <stdio.h> #include <math.h> int main() { int a[3][4],i,j,max=0; for(i=0;i<3;i++) …… 题解列表 2017年12月09日 1 点赞 4 评论 730 浏览 评分:0.0
蓝桥杯算法提高VIP-数组输出 (C语言代码) 摘要:参考代码:#include <stdio.h> #include <math.h> int main() { int a[3][4],max,i,j,row=1,column=1; …… 题解列表 2018年01月30日 0 点赞 0 评论 1592 浏览 评分:0.0
蓝桥杯算法提高VIP-数组输出 (C语言代码)简洁 摘要:解题思路:边读边处理;代码如下:注意事项:参考代码:#include <cstdio> #include <cstdlib> #include <iostream> #include <cmat…… 题解列表 2018年11月12日 2 点赞 0 评论 1528 浏览 评分:2.0
蓝桥杯算法提高VIP-数组输出 (C++描述 点开有惊喜,,,超级简单的好吧,不到20行解决问题) 解题思路:求绝对值的math的运用输入数组的值找到绝对值最大的数的角标输出注意事项:注意输出的数据是绝对值以后的,还要明白角标与实际位置的不同,行列都是从0开始数的,而输出的时候是从1开始数的,如a[m][n],代表的是第m+1行,n+1列的数参考代码:#include#inclu 题解列表 2018年11月23日 3 点赞 2 评论 845 浏览 评分:9.0
蓝桥杯算法提高VIP-数组输出 (C语言代码)超简单的特殊思路 摘要:解题思路:一句一句解析,三行四列的数组a[3][4] 找出其中绝对值最大元素,绝对值语句abs()(另外还有fabs()详情百度),头文件#include"math.h" #…… 题解列表 2019年02月10日 4 点赞 3 评论 1378 浏览 评分:9.6