1 solutions

  • 0
    @ 2025-11-5 15:37:58

    C++ :

    #include <iostream>
    #include <cstdio>
    using namespace std;
    int main()
    {
        cout<<"    *"<<endl;
        cout<<"   **"<<endl;
        cout<<"  ***"<<endl;
        cout<<" ****"<<endl;
        cout<<"*****"<<endl;
        return 0;
    }
    

    Pascal :

    begin
     writeln('    *');
     writeln('   **');
     writeln('  ***');
     writeln(' ****');
     writeln('*****');
    end.
    
    • 1

    Information

    ID
    16980
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By