Codeforces Round 340 A. Elephant
#include<bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(false)
#define high 300010
typedef long long LL;
int main()
{
fast;
LL n;
while(cin >> n)
{
LL ans = (n%5) ? (n/5) + 1 : n/5;
cout << ans << "\n";
}
return 0;
}
using namespace std;
#define fast ios_base::sync_with_stdio(false)
#define high 300010
typedef long long LL;
int main()
{
fast;
LL n;
while(cin >> n)
{
LL ans = (n%5) ? (n/5) + 1 : n/5;
cout << ans << "\n";
}
return 0;
}
Comments
Post a Comment