1 solutions

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

    Information

    ID
    2836
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    # Submissions
    17
    Accepted
    12
    Uploaded By