Source Code
#include <iostream>
 using namespace std;
int main() {
	int h,t, count =0;
	cin>>h>>t;
	for(;h>=t;t+=t)	{
		count+=1;
	}
	printf("%d", count);
	return 0;
}
Copy
The Tortoise and the Hare 5hafiq
GNU G++17
2 ms
656 KB
Wrong Answer