1 条题解

  • 1
    @ 2025-7-24 10:43:51
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int a,b;
    	cin>>a>>b;
    	int c[a*2][b];
    	for(int i=0;i<a*2;i++)
    		for(int j=0;j<b;j++)
    			cin>>c[i][j];
    	for(int i=0;i<a;i++)
    	{
    		for(int j=0;j<b;j++)
    			cout<<c[i][j]+c[i+a][j]<<" ";
    		cout<<endl;
    	}
    	return 0;
    }
    
    • 1

    信息

    ID
    289
    时间
    1000ms
    内存
    256MiB
    难度
    7
    标签
    递交数
    32
    已通过
    9
    上传者