1 条题解

  • 0
    @ 2026-1-28 12:34:08

    直接输出即可(真想用其他方法也不是不行,就是单纯没必要,你要用循环我也不能拦你对吧)

    #include <iostream>
    using namespace std;
    int main()
    {
    cout<<"  *"<<endl;
    cout<<" ***"<<endl;
    cout<<"*****"<<endl;
    cout<<" ***"<<endl;
    cout<<"  *"<<endl;
    }
    /*(被问我代码为啥这么难看,
    问就是在文本文档里写的)*/
    
    • 1

    信息

    ID
    75
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    270
    已通过
    111
    上传者