Source Code
	#include <iostream>
	using namespace std;

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

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

			while (h >= t) {
				count++;
				t += t;
			}
			cout << count;

		}

		return 0;
	}
Copy
The Tortoise and the Hare Reem12
GNU G++17
3 ms
744 KB
Wrong Answer