Source Code
#include <stdio.h>
 
int main() {
	int h,t, count =0;
	scanf("%d %d",&h,&t);
	while(h>=t){
		t+=t;
		count++;
	}
	printf("%d", count);
	return 0;
}
Copy
The Tortoise and the Hare 5hafiq
GNU G++17
3 ms
688 KB
Wrong Answer