精华内容
下载资源
问答
  • 该楼层疑似违规已被系统折叠隐藏此楼查看此楼程序清单#include&nbspint&nbspmain(void){&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&......

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

    程序清单

    #include&nbsp

    int&nbspmain(void)

    {

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspa[2][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspb[3][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspc[2][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspregister&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint&nbsp&nbsp&nbsp&nbsp&nbspi;

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspregister&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint&nbsp&nbsp&nbsp&nbsp&nbspj;

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("a.dat","r",stdin);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspscanf("%d",&a[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("b.dat","r",stdin);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<3;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspscanf("%d",&b[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspc[i][j]=a[i][0]*b[0][j]+a[i][1]*b[1][j]+a[i][2]*b[2][j];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("c.dat","w",stdout);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("%d&nbsp",c[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("\n");

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    }

    展开全文
  • 该楼层疑似违规已被系统折叠隐藏此楼查看此楼程序清单#include&nbspint&nbspmain(void){&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&......

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

    程序清单

    #include&nbsp

    int&nbspmain(void)

    {

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspa[2][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspb[3][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspc[2][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspregister&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint&nbsp&nbsp&nbsp&nbsp&nbspi;

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspregister&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint&nbsp&nbsp&nbsp&nbsp&nbspj;

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("a.dat","r",stdin);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspscanf("%d",&a[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("b.dat","r",stdin);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<3;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspscanf("%d",&b[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspc[i][j]=a[i][0]*b[0][j]+a[i][1]*b[1][j]+a[i][2]*b[2][j];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("c.dat","w",stdout);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("%d&nbsp",c[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("\n");

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    }

    展开全文
  • 该楼层疑似违规已被系统折叠隐藏此楼查看此楼程序清单#include&nbspint&nbspmain(void){&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&......

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

    程序清单

    #include&nbsp

    int&nbspmain(void)

    {

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspa[2][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspb[3][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspc[2][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspregister&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint&nbsp&nbsp&nbsp&nbsp&nbspi;

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspregister&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint&nbsp&nbsp&nbsp&nbsp&nbspj;

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("a.dat","r",stdin);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspscanf("%d",&a[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("b.dat","r",stdin);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<3;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspscanf("%d",&b[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspc[i][j]=a[i][0]*b[0][j]+a[i][1]*b[1][j]+a[i][2]*b[2][j];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("c.dat","w",stdout);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("%d&nbsp",c[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("\n");

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    }

    展开全文
  • 该楼层疑似违规已被系统折叠隐藏此楼查看此楼程序清单#include&nbspint&nbspmain(void){&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&......

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

    程序清单

    #include&nbsp

    int&nbspmain(void)

    {

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspa[2][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspb[3][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&nbsp&nbsp&nbspc[2][3];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspregister&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint&nbsp&nbsp&nbsp&nbsp&nbspi;

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspregister&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspint&nbsp&nbsp&nbsp&nbsp&nbspj;

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("a.dat","r",stdin);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspscanf("%d",&a[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("b.dat","r",stdin);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<3;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspscanf("%d",&b[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspc[i][j]=a[i][0]*b[0][j]+a[i][1]*b[1][j]+a[i][2]*b[2][j];

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfreopen("c.dat","w",stdout);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(i=0;i<2;i++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfor(j=0;j<3;j++)

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("%d&nbsp",c[i][j]);

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("\n");

    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp}

    }

    展开全文
  • 该楼层疑似违规已被系统折叠隐藏此楼查看此楼程序清单#include&nbspint&nbspmain(void){&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&......
  • 该楼层疑似违规已被系统折叠隐藏此楼查看此楼程序清单#include&nbspint&nbspmain(void){&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&......
  • 该楼层疑似违规已被系统折叠隐藏此楼查看此楼程序清单#include&nbspint&nbspmain(void){&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&......
  • 该楼层疑似违规已被系统折叠隐藏此楼查看此楼程序清单#include&nbspint&nbspmain(void){&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&......
  • C语言矩阵乘积

    千次阅读 多人点赞 2019-03-02 16:28:07
    给定两个矩阵A和B,要求你计算它们的乘积矩阵AB。需要注意的是,只有规模匹配的矩阵才可以相乘。即若A有R​a​​行、C​a​​列,B有R​b​​行、C​b​​列,则只有C​a​​与R​b​​相等时,两个矩阵才能相乘。 ...
  • C语言计算矩阵乘积

    2021-04-02 09:22:20
    printf("输入矩阵a:\n"); for(i=0;i<2;i++) for(j=0;j<3;j++){ scanf("%d",&a[i][j]); } printf("输入矩阵b:\n"); for(i=0;i<3;i++) for(j=0;j<2;j++){ scanf("%d",&
  • 矩阵相乘实例:#include // 求 m*k 型矩阵 A 左乘 k*n 型矩阵 B 后的 m*n 型矩阵 Cint main(){struct Matrixs{int elements[100][100];int row;int col;}matrixA, matrixB, matrixC;int m, k, n;printf("请输入矩阵A...
  • 该楼层疑似违规已被系统折叠隐藏此楼查看此楼程序清单#include&nbspint&nbspmain(void){&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&......
  • 矩阵乘积c语言

    2020-12-08 10:48:17
    矩阵乘积 代码如下: #include <stdio.h> int main() { int a,b,c,x[100][100],y[100][100],z[100][100]; scanf("%d%d%d",&a,&b,&c); int i,j,k,s=0; for(i=0; i<a; i++) { for(j=0; j&...
  • 本文实例为大家分享了C语言实现两个矩阵相乘的具体代码,供大家参考,具体内容如下程序功能:实现两个矩阵相乘的C语言程序,并将其输出代码如下:#include "stdafx.h"#include "windows.h"void Multi(int * left, ...
  • 该楼层疑似违规已被系统折叠隐藏此楼查看此楼程序清单#include&nbspint&nbspmain(void){&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspchar&nbsp&......
  • C语言矩阵相乘

    2019-03-22 11:25:55
    学过线代都知道,两矩阵可以相乘的条件为...假设现在有一个2*3的矩阵,还有一个3*4的矩阵,怎么用C语言求他们的乘积矩阵呢? #include<bits/stdc++.h> using namespace std; int main() { int a[100][100],...
  • C语言 矩阵乘法

    2021-05-06 23:53:15
    你需要用矩阵 AA 与矩阵 BB 相乘,并且将 mm 行 mm 列的乘积结果输出。 输入格式 第一行输入 2 个整数,分别对应题目描述中的 m 和 n(1≤m,n≤10),两个整数之间用一个空格分隔。 接下来 m 行,每行包含 n个整数...
  • C语言矩阵乘法

    2021-01-05 16:25:57
    你需要用矩阵 A与矩阵 B 相乘,并且将 m行 m 列的乘积结果输出 #include <stdio.h> int main() { int matrix_a[10][10]; int matrix_b[10][10]; int matrix_c[10][10]; int m; int n; scanf("%d %d",&...
  • C语言矩阵乘法A

    2014-11-08 11:40:08
    从文件arr.in中读入一个m行k列的整数矩阵a和一个k行n列的整数矩阵b(1 , k, n ),在标准输出上输出这两个矩阵乘积。 【输入形式】 输入文件arr.in中有m + k + 1行,前m行是矩阵a的元素aij,第m + 1行是空行,后...
  • 沈阳理工大学 材料工程 学院计算机程序训练任务书学生姓名:xx 班级:xxxxxxxxx 学号:xxxxxxxxxx设计题目:计算两个5*5矩阵乘积。计算机程序训练题目及要求机械学院 自动化教研室目录一.训练目的………………...
  • 计算两个矩阵乘积,第一个是 2 * 3,第二个是 3 * 2 输入 输入为两个矩阵,其中一个为 2 * 3 的矩阵,另一个为 3 * 2 的矩阵 输出 一个 2 * 2 的矩阵(每一个数字后都跟一个空格) 样例输入 1 2 3 3 4 5 6 7 8 9 10...
  • 简单c语言习题:矩阵乘积

    千次阅读 2015-12-26 23:35:16
    产生A(5行4列),B(4行3列)两个随机矩阵,每个元素是[-10,10]之间的随机整数并打印出来,打印出它们的乘积C矩阵。要求矩阵用*******分隔开,以A,B,C的顺序打印,各行对齐。 #include "stdafx.h" #include #include...
  • 输出二个矩阵乘积 任务描述 编程输出两个矩阵乘积。 输入格式: 首先是三个正整数A,B,C(0〈A,B,C<100),表示第一个矩阵是A行B列,第二个矩阵是B行C列。 然后是A行整数,每行B个,以空格分隔,表示...
  • #编写程序计算两个矩阵乘积,请将以下代码复制到codeblocks中,将multiply函数补充完整,程序运行正确后将所有代码(包括题目中给出的代码)复制到答题区内运行并提交。 #include <stdio.h> #define M 3 #...

空空如也

空空如也

1 2 3 4 5 ... 7
收藏数 122
精华内容 48
关键字:

c语言矩阵乘积

c语言 订阅