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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    #include <iostream> #include <iomanip> using namespace std; int main() { int n; cin >> n; for (int i = 0; i < n; i++) { int t=1; for (int j = 0; j < n; j++) { if (i<=j) { cout<<setw(5)<<t; t++; } else cout <<" "; } cout << endl; } }

    userId_undefined

    ༺ཌༀ🤡摸头扫码ༀད༻

    时间刺客空间掌握者时空双修者贪心·贪心尝试者题解仙人字符串·魔法使
    4阅读
    0回复
    2点赞
  • 题解

    userId_undefined

    ???

    空间掌握者题解仙人出道萌新字符串·魔法使模拟·模拟练习生GESP3级
    92阅读
    2回复
    2点赞
  • 数字三角形 题解

    userId_undefined

    skirmish

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

    附带解析

    userId_undefined

    一只雪梨

    20阅读
    1回复
    1点赞
  • 题解

    #include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for (int i=1;i<=n;i++){ int cnt=1,c=n-i+1; for (int j=1;j<=i-1;j++) cout<<" "; while (c>0){ cout<<setw(5)<<cnt; cnt++; c--; } cout<<endl; } return 0; }

    userId_undefined

    人

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

    userId_undefined

    zyz610

    6阅读
    0回复
    1点赞
暂无数据

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

首页