a的b次方和c的d次方比较
题目传送门
As we all now that there’s a easy way to describe some same consecutive factors multiply each other which is POW.
For example,
2×2×2=23
3×3=32
it is easy to see that 23 < 32
Now, your math teacher just gave you a problem in his class which is 10099 99100which one is bigger? There are many ways to solve that and you solved it quickly. When you told the answer to your teach, he seemed to be unsatisfactory about that and he continued to asked the pow problems like that, which is given four positive integers a,b,c,da,b,c,d could you tell that which one is bigger between ab and cd or they are equal.
Input
First line of the input contains one positive integer T(1≤T≤10^5