Advertisement
rahat62

A. Elephant

Sep 15th, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5.     int n;
  6.  
  7.     cin>>n;
  8.  
  9.     if(n%5==0) cout<<n/5<<endl;
  10.  
  11.     else cout<<n/5+1<<endl;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement