2 solutions

  • 0
    @ 2026-10-21 21:12:02
    #include<iostream>
    using namespace std;
    int main()
    {
        int a;
        cin >> a;
        for (; a > 0; a -= 1)
        {
            cout << a << " ";
    
    
        }
        
    }
    

    Information

    ID
    292
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    135
    Accepted
    41
    Uploaded By