Skip to content

Commit 9ef63f8

Browse files
committed
Added 617A - Elephant.cpp
1 parent 182ffba commit 9ef63f8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

617A - Elephant.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#include<bits/stdc++.h>
2+
using namespace std;
3+
4+
// Code Written By: Vikash Patel
5+
6+
int main()
7+
{
8+
int n;
9+
cin>>n;
10+
int ans = n%5==0 ? n/5 : n/5+1;
11+
cout<<ans<<endl;
12+
}

0 commit comments

Comments
 (0)