using namespace std;
int main()
{
int a,b,cnt=0;
cin >> a >> b;
while(b>=a)
{
a *= 3;
b *= 2;
cnt++;
}
cout << cnt << endl;
return 0;
}
We share codes. We love code. We respect programming
About Amanur Rahman
Soratemplates is a blogger resources site is a provider of high quality blogger template with premium looking layout and robust design. The main mission of templatesyard is to provide the best quality blogger templates.
No comments:
Post a Comment