1 条题解

  • 0
    @ 2026-4-2 19:07:10

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

    信息

    ID
    115
    时间
    1000ms
    内存
    256MiB
    难度
    8
    标签
    (无)
    递交数
    39
    已通过
    7
    上传者