acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    #include<iostream> using namespace std; int a[101][101]; int main(){ int n; cin>>n; for(int i=1;i<=n+1;i++){ for(int j=1;j<=i;j++){ cout<<"* "; } cout<<endl; } for(int i=n;i>=1;i--){ for(int j=1;j<=i;j++){ cout<<"* "; } cout<<endl; } }

    userId_undefined

    5

    倔强青铜空间掌握者字符串·魔法使循环·循环打卡人模拟·模拟练习生数组·数组操作员
    39阅读
    0回复
    1点赞
  • OK了呀

    userId_undefined

    MuktorFM

    时间刺客时空双修者出道萌新荣耀黄金CSP-S二等奖出题人
    33阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    zsy

    题解仙人7月全勤卷王出道萌新时间刺客时空双修者秩序白银
    12阅读
    0回复
    0点赞
  • 这个行不行

    #include<iostream> using namespace std; int main(){ long long a; cin>>a; for(long long i=1;i<=a+1;i++){ for(long j=1;j<=i;j++){ cout<<"* "; } cout<<endl; } for(long long i=a;i>=1;i--){ for(long long j=1;j<=i;j++){ cout<<"* "; } cout<<endl; } return 0; }

    userId_undefined

    金杰錱

    时间刺客空间掌握者倔强青铜字符串·魔法使循环·循环打卡人数组·数组操作员
    9阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    LS_YZY

    题解仙人出道萌新时空双修者模拟·模拟练习生倔强青铜快乐小狗
    0阅读
    0回复
    0点赞
首页