Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Codeforces Round 617A
- #include <iostream>
- using namespace std;
- void slonik(int x)
- {
- int answ=0;
- while(x>0)
- {
- x-=5;
- answ++;
- }
- cout << answ;
- }
- int main()
- {
- int x;
- cin >> x;
- slonik(x);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement