1 solutions

  • 0
    @ 2025-7-8 10:18:27
    #include<bits/stdc++.h> 
    using namespace std;
    int main()
    {
        int n;
        cin>>n;
        int i=0;
        while(i<=n)
        {
            cout<<i<<' ';
            i++;
        }
        return 0;
    }
    
    • 1

    Information

    ID
    44
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    235
    Accepted
    80
    Uploaded By