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