Problem G. Jacana Number
时间限制 1000 ms
内存限制 149.83203125 MB
This problem is very simple problem.
We define J(n,k) like this:
1. J(n,1)=n
2. J(n,k)=$n^{J(n,k-1)}$ (k=2,3,…)
We call this number “Jacana Number”.
In this problem you are given two jacana numbers and you must output which Jacana Number is greater than the other.
输入数据
输出数据
For each test case output one of (‘>’, ‘=’, ‘<’) in one line.
If J(n,a)> J(m,b), output ‘>’.
If J(n,a)= J(m,b), output ‘=’.
If J(n,a)< J(m,b), output ‘<’.
样例输入
复制
3
2 2 3 1
2 3 3 2
1 2 1 4
样例输出
$ Mathjax font initiator $