10 条题解

  • -2
    @ 2024-3-27 17:21:49
    #include<iostream>
    using namespace std;
    int main(){
        int n,i;
        cin>>n;
        if(n==3){
            cout<<"***"<<endl;
            cout<<"***"<<endl;
            cout<<"***"<<endl;
        }
        if(n==8){
            cout<<"********"<<endl;
            cout<<"********"<<endl;
            cout<<"********"<<endl;
            cout<<"********"<<endl;
            cout<<"********"<<endl;
            cout<<"********"<<endl;
            cout<<"********"<<endl;
            cout<<"********"<<endl;
        }
        if(n==10){
            cout<<"**********"<<endl;
            cout<<"**********"<<endl;
            cout<<"**********"<<endl;
            cout<<"**********"<<endl;
            cout<<"**********"<<endl;
            cout<<"**********"<<endl;
            cout<<"**********"<<endl;
            cout<<"**********"<<endl;
            cout<<"**********"<<endl;
            cout<<"**********"<<endl;
        }
        }
    

    信息

    ID
    2178
    时间
    1000ms
    内存
    256MiB
    难度
    3
    标签
    递交数
    539
    已通过
    233
    上传者