Source Code
	#include <iostream>
	using namespace std;

	int main() {
		long long 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++11
3 ms
656 KB
Wrong Answer