C++关于信息学竞赛 二维数组23个源文件试题 供初学者练习

上传者: mchtly | 上传时间: 2024-05-17 15:16:16 | 文件大小: 10KB | 文件类型: ZIP
C++关于信息学竞赛 二维数组23个源文件试题 供初学者练习 #include using namespace std; main() { int a[6][6],max,max_y,min,min_x; for(int i=1;i<6;i++) for(int j=1;j<6;j++) cin>>a[i][j]; for(int i=1;i<6;i++) { max=a[i][1];max_y=1; for(int j=2;j<6;j++) if(a[i][j]>max) {max=a[i][j];max_y=j; } //本行最大值存入max 本行中最大值所在的列下标 存入max_y min=a[1][max_y];min_x=1; for(int j=2;j<6;j++) if(a[j][max_y]

文件下载

资源详情

[{"title":"( 23 个子文件 10KB ) C++关于信息学竞赛 二维数组23个源文件试题 供初学者练习","children":[{"title":"二维数组","children":[{"title":"去重2.cpp <span style='color:#111;'> 408B </span>","children":null,"spread":false},{"title":"蛇形距阵输出.cpp <span style='color:#111;'> 664B </span>","children":null,"spread":false},{"title":"图像相似.cpp <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"地毯.cpp <span style='color:#111;'> 311B </span>","children":null,"spread":false},{"title":"图像相似度.cpp <span style='color:#111;'> 393B </span>","children":null,"spread":false},{"title":"稀疏距阵.cpp <span style='color:#111;'> 468B </span>","children":null,"spread":false},{"title":"对角线元素加十.cpp <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"杨辉三角.cpp <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"回文数.cpp <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"求和.cpp <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"去重.cpp <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"杨辉三角123.cpp <span style='color:#111;'> 653B </span>","children":null,"spread":false},{"title":"铺地毯.cpp <span style='color:#111;'> 436B </span>","children":null,"spread":false},{"title":"单目运算术.cpp <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"输出同行同列.cpp <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"乘法表.cpp <span style='color:#111;'> 532B </span>","children":null,"spread":false},{"title":"二维数组按行列输出.cpp <span style='color:#111;'> 518B </span>","children":null,"spread":false},{"title":"鞍点.cpp <span style='color:#111;'> 648B </span>","children":null,"spread":false},{"title":"二维数组计算鞍点.cpp <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"回文数123.cpp <span style='color:#111;'> 286B </span>","children":null,"spread":false},{"title":"数组空间连续.cpp <span style='color:#111;'> 744B </span>","children":null,"spread":false},{"title":"蛇形距阵.cpp <span style='color:#111;'> 444B </span>","children":null,"spread":false},{"title":"稀疏矩阵.cpp <span style='color:#111;'> 485B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明