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sl8wIZhGIZXMh+wYRiG4ZXMB2wYhmF4IR8f/wKE6N46VA1gjgAAAABJRU5ErkJggg==" alt="" />
解决代码及点评
/************************************************************************/
/*
4. 写一函数,使给定的一个二维数组(3×3)转置,即行列互换。 */
/************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h> // 转置就是a[i][j]和a[j][i]交换即可
void main()
{
int arr[3][3]={0};
for (int i=0;i<3;i++) // 初始化矩阵
{
for (int j=0;j<3;j++)
{
arr[i][j]=rand()%100;
}
}
for (int i=0;i<3;i++) // 打印矩阵
{
for (int j=0;j<3;j++)
{
printf("%5d",arr[i][j]);
}
printf("\n");
}
for (int i=0;i<3;i++) // 转置矩阵,就是让a[i][i]与a[j][i]交换
{
for (int j=i+1;j<3;j++)
{
int temp=arr[i][j];
arr[i][j]=arr[j][i];
arr[j][i]=temp;
} }
printf("\n");printf("\n");printf("\n");
for (int i=0;i<3;i++) // 打印转置后的结果
{
for (int j=0;j<3;j++)
{
printf("%5d",arr[i][j]);
}
printf("\n");
}
system("pause");
}
代码编译以及运行
由于资源上传太多,资源频道经常被锁定无法上传资源,同学们可以打开VS2013自己创建工程,步骤如下:
1)新建工程
2)选择工程
3)创建完工程如下图:
4)增加文件,右键点击项目
5)在弹出菜单里做以下选择
6)添加文件
7)拷贝代码与运行
程序运行结果
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqUAAAG6CAYAAAAxsD/hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAChLSURBVHhe7d0JvF1VfS/w/80kCChgDUlI+6p1rAxhlEEGmYIaUOuIEzh8fPVZa3EAxWp9j4piHaD6mtYnSlGLvten1gmVKahgU2WQwVJb2vpaQsgloEYgCUnu22ufvW/2Pdnn3Hsz3HUufL/p37P3Wmvvtc4+qfm5zz3nDl37iUtH4g9eHkdEx6mnnlptAQDAjvG1r32tfLzuk38UZ14eMTQyctvIB57/qVg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ntM9/i24ydzzomcr580fjzd569NZp5a7uMBgKkzLd6+b4aLtN1dk5UCSqp07I4KK/W6muur52zT73n06xtPOnZ7HJ+qvm51Jc3HehsAYJBtVSitw1CtDj/N2hr1edNjTvX8vdbSXGfbmLbnn8bUlfrbxvTTdnz3Oeq+JD2m/W69jp2o3McDAA9PWxVK+wWKtiBUG6+vPm967De2lsY0q1dbkrZ7rXuyAaleX/d6e1U9pvnY1D22uV+39Ts+SeO6+9J+fTwAwCDb5t/o1BaG2tpq3X11aGob3+s8/c4/UfW8vWzr+adKv+uXbI9rBQA8Mk3lz5RucygFAODhaVp80AkAALYXoRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFAGDCZs6cGXPmzClr9uzZo491pf6tIZQCADBhKXQeeeSRsWjRorIOOuigWLx4cZx55pmxdOnSmDFj6+KlUAoAwIRt3Lgxrr322jKQHnHEEfHCF74w3vSmN8Vpp51WPm7atKkaOTlCKQAAE5ZCaaqLL7445s6dW4bTpz71qXHooYeWgTT1bQ2hFACAvoaGhsZUCp+p3v/+95dv5z/96U/fpkCaCKUAAPSVgmdbMB0ZGYnnPve55WPa7x4zGUIpAAB9pVCaPsDUHTpTEN2wYcM2B9JEKAUAoK86kHar25phtG3cRAilAAD01XaXdCI1GUIpAAB99QqlSf24rYRSAAD6euCBB7aqJmNoyZIlIxddfGncu3akahpr+RVfjuOPP77aAwCAyVm4cGHcfueaam+sPXcaitefcdr4ofRpe+9WbQEAwNbZ5lAKAAA7Sh1K/UwpAADZCaUAAGQnlAIAkJ1QCgBAdkIpAADZjX76HgAAchj9SqhqHwAAMoj4/+VhSqKWr13UAAAAAElFTkSuQmCC" alt="" />
基于visual Studio2013解决C语言竞赛题之0604二维数组置换的更多相关文章
- 基于visual Studio2013解决C语言竞赛题之1065二维排序
题目 解决代码及点评 /* 功能:二维数组排序.设有4×5的数组M,通过排序使 M[1][1]≤M[1][2]≤...≤M[1][5]≤M[2][1]≤M[2][2]≤...≤ ...
- 基于visual Studio2013解决C语言竞赛题之0510求最大和
题目
- 基于visual Studio2013解决C语言竞赛题之0509杨辉三角
题目
- 基于visual Studio2013解决C语言竞赛题之1018数组求和
题目 解决代码及点评 /************************************************************************/ ...
- 基于visual Studio2013解决C语言竞赛题之1037数组求列和
题目 解决代码及点评 /* 功能:已知有三个数组A,B,C,A为5行5列的二维数组,B.C为只有5个元素的一维数组,键盘输入数据的顺序如下: 23,45,6,1,- ...
- 基于visual Studio2013解决C语言竞赛题之1034数组赋值
题目 解决代码及点评 /********************************************************************** ...
- 基于visual Studio2013解决C语言竞赛题之1029二元数组平均值
题目 解决代码及点评 /* 功能:求二维数组中每行元素的平均值,不许引入其它的数组 时间:16:21 2013/10/24 */ #include<stdio ...
- 基于visual Studio2013解决C语言竞赛题之0513字符拷贝
题目 解决代码及点评 /************************************************************************/ /* 13. 将字符数 ...
- 基于visual Studio2013解决C语言竞赛题之0502最小数替换
题目
随机推荐
- 射频识别技术漫谈(18)——Mifare Desfire
Mifare DESFire(MF3 IC D40/D41,本文以D40为例)遵守14443 TypeA协议,卡内的数据以文件形式存储,所以有人认为它是准CPU卡,主要用于安全性要求较高的非接触式领 ...
- QT类型转换(九种转换)
1.char * 与 const char *的转换 char *ch1="hello11";const char *ch2="hello22";ch2 = c ...
- 入门Html
html 超文本标记语言(Hypertext Markup Language),用于描写网页文档的标记语言,最新的版本为5.0.由万维网制定 和更新,其实它本质还是文本文件,只不过需要浏览器来解释显示 ...
- HDU 2527
题目描述 HDU 2527 分析 霍夫曼编码的应用. 本题没有必要构造一棵完整的霍夫曼树.只需利用霍夫曼编码的原理,每次挑选频率最低的两个元素进行合并 ...
- ActionScript3游戏中的图像编程(连载二十四)
总文件夹:http://blog.csdn.net/iloveas2014/article/details/38304477 2.1.1 投影样式的制作 点击左側列表的"投影"系列 ...
- readv和writev函数
readv 和 writev 函数用于在一次函数调用中读.写多个非连续缓冲区.有时也将这两个函数称为散布读和聚集写. #include <sys/uio.h> ssize_t readv( ...
- No.2小白的HTML+CSS心得篇
今天要强调的重点是分析把握好HTML标签的两个方面: 1.标签的用途(用途指的是用来干什么,有什么作用)在专业术语叫作 语义化. 举个列子:<br/> 换行的作用 见了它就明白它的语义就是 ...
- BZOJ 1202: [HNOI2005]狡猾的商人( 差分约束 )
好像很多人用并查集写的... 前缀和, 则 sumt - sums-1 = v, 拆成2条 : sumt ≤ sums-1 + v, sums-1 ≤ sumt - v 就是一个差分约束, 建图跑SP ...
- Nginx简单操作
Nginx简单操作 平滑重启:读取配置文件,正确后启动新nginx,关闭旧服务进程 # kill HUP nginx.pid # /usr/sbin/nginx -c /etc/nginx/nginx ...
- 华为GVRP理解
类似于CISCO的VTP 在大型的网络中,华为交换机之间的串联是很普遍的.一般交换机互联端口都是配置成Trunk,即允许透传多个VLAN的.对于用户来说,手工配置太麻烦.一个规模比较大的网络可能包含多 ...