1 solutions

  • 2
    @ 2024-12-17 20:39:52
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
     int n;
     cin>>n;
     int f=1;
     while(f<=n-1)
     {
     	f=f+1;
     	cout<<f<<" ";
     	f++;
     }
     return 0;
    }
    
    • 1

    Information

    ID
    45
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    179
    Accepted
    64
    Uploaded By