Wrong Answer
Code
#include <iostream>
using namespace std;
int main()
{
int t;
cin>>t;
for(int i=1;i<=t;i++)
{
int A,B;
cin>>A>>B; //A<=B
int count =0;
while (A<B)
{
A=A*2;
count++;
}
cout << count << endl;
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1044 Add or multiple
- Contest
- TLE_Headquarters - round #1
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-03-27 17:50:51
- Judged At
- 2024-11-11 03:37:23
- Judged By
- Score
- 20
- Total Time
- 2ms
- Peak Memory
- 504.0 KiB