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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    如下: #include <bits/stdc++.h> using namespace std; int main(){ long long a,s; cin>>a>>s; for(int i=1;i<=a2+1;i++){ if(i%2==1){ for(int j=1;j<=s2+1;j++){ if(j%21) cout<<'+'; else cout<<'-'; } continue; } cout<<endl; if(i%20){ for(int k=1;k<=s*2+1;k++){ if(k%2==0){ cout<<' '; } else cout<<'|'; } } cout<<endl; } return 0; }

    userId_undefined

    八(5)班 王奕龙

    倔强青铜
    57阅读
    0回复
    0点赞
  • c+++++++++++

    ******~~ ~~****** |---|---| | | |

    userId_undefined

    牵着蜗牛去散步

    模拟·模拟练习生字符串·魔法使倔强青铜
    42阅读
    0回复
    1点赞
  • c++++++++题解

    这是对的 真是对的 其他的都是错的,这是老师讲的

    userId_undefined

    红绿灯

    倔强青铜
    22阅读
    0回复
    1点赞
  • python

    userId_undefined

    无敌的鳖佬仔给老爷爷猜猜被

    7月全勤卷王秩序白银时间刺客空间掌握者循环·循环打卡人I/O·IO入门者
    32阅读
    0回复
    0点赞
  • A29910.打印栅格 题解

    userId_undefined

    skirmish

    8月全勤卷王出道萌新时空双修者秩序白银快乐小狗
    7阅读
    0回复
    0点赞
  • 题解

    如下:#include <bits/stdc++.h> using namespace std; int main(){ long long n,m; cin>>n>>m; for(int i=1;i<=2n+1;i++){ for(int j=1;j<=2m+1;j++){ if(i%21 && j%21){ cout<<"+"; } if(i%21 && j%20){ cout<<"-"; } if(i%20 && j%21){ cout<<"|"; } if(i%20 && j%20){ cout<<" "; } } cout<<endl; } return 0; }

    userId_undefined

    ༺ཌༀ佐助爱吃皮皮虾ༀད༻

    数组·数组操作员循环·循环打卡人分支·分支解题者贪心·贪心尝试者字符串·魔法使格式·格式排版员
    0阅读
    0回复
    0点赞
暂无数据

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

首页