initial commit

This commit is contained in:
ShazidMahsrafi 2023-06-07 20:15:25 +06:00
parent dd7ee8f7aa
commit 04888589e1

20
617A-Elephant/617A.cpp Normal file
View File

@ -0,0 +1,20 @@
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n,i=5,count=0;
cin>>n;
while(n>0)
{
while(i>=1)
{
while(n-i>=0)
{
count++;
n=n-i;
}
i--;
}
cout<<count;
}
}