acgo题库
  • 首页
  • 题库
  • 学习
  • 天梯
  • 备赛

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
  • 资讯
  • 竞赛
  • 讨论
  • 团队
  • 商城
登录
注册
题目详情提交记录(0)
  • 不难

    #include<bits/stdc++.h> using namespace std; int main(){ int n,m,a[1100][1100],q,x,y,c,d; cin>>n>>m; for(int i=1;i<=n;i++){ for(int j=1;j<=m;j++){ cin>>a[i][j]; } } cin>>x>>y>>c>>d; for(int i=x;i<=c;i++){ for(int j=y;j<=d;j++){ a[i][j]+=3; } } for(int i=1;i<=n;i++){ for(int j=1;j<=m;j++){ cout<<a[i][j]<<" "; } cout<<endl; } }

    userId_undefined
    ༺ཌༀཉི༒MC༒༃ༀད༻
    2阅读
    0回复
    1点赞
暂无数据

提交答案之后,这里将显示提交结果~

首页