1 solutions

  • 1
    @ 2025-8-18 15:59:40
    #include<bits/stdc++.h>
    using namespace std;
    int n;
    int main(){
    	cin>>n;
    	if(n%3==0){
    		cout<<n/3;
    	}else{
    		cout<<n/3+1;
    	}
    	
    	
    	
    	return 0;
    }
    
    • 1

    Information

    ID
    2829
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    5
    Tags
    # Submissions
    22
    Accepted
    13
    Uploaded By