Source Code
#include <iostream>
using namespace std;

int main() {
	long long h, t;
	cin >> h >> t;
	int count = 0;
	int t1 = t;

	if ((1 <= h && h <= 100) && (1 <= t && t <= 100)) {

		while (h >= t1) {
			count++;
			t1 += t;
		

		}
		cout << count<<endl;
		


	}

	return 0;
}


Copy
The Tortoise and the Hare Reem12
GNU G++17
3 ms
928 KB
Accepted