Source Code
#include <iostream>
using namespace std;
int main()
{
		int h, t, count = 0 , base;
		cin >> h >> t;
		base = t;
		if (!(1 <= h && h >= 100) && (1 <= t && t >= 100));
		else
		{
			while (h >= t) {
				t += base;
				count++;
			}
			cout << count;
		}
}
Copy
The Tortoise and the Hare 5hafiq
GNU G++17
3 ms
720 KB
Wrong Answer