当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。

建议使用的浏览器:

谷歌Chrome 火狐Firefox Opera浏览器 微软Edge浏览器 QQ浏览器 360浏览器 傲游浏览器

5170:GTY's math problem

题目描述
GTY is a GodBull who will get an Au in NOI . To have more time to learn algorithm knowledge, he never does his math homework. His math teacher is very unhappy for that, but she can't do anything because GTY can always get a good mark in math exams. One day, the math teacher asked GTY to answer a question. There are four numbers on the blackboard - $a, b, c, d$. The math teacher wants GTY to compare $ a^b $ with $ c^d $. Because GTY never does his homework, he can't figure out this problem! If GTY can't answer this question correctly, he will have to do his homework. So help him!
输入解释
Multi test cases (about 5000). Every case contains four integers a,b,c,d($ 1 \leq a,b,c,d \leq 1000 $)separated by spaces. Please process to the end of file.
输出解释
For each case , if $ a^b > c^d $ , print '>'. if $ a^b < c^d $ , print '<'. if $ a^b = c^d $ , print '='.
输入样例
2 1 1 2
2 4 4 2
10 10 9 11
输出样例
>
=
<
来自杭电HDUOJ的附加信息
Recommend hujie

该题目是Virtual Judge题目,来自 杭电HDUOJ

题目来源 BestCoder Round #29

源链接: HDU-5170

最后修改于 2020-10-25T23:20:23+00:00 由爬虫自动更新

共提交 0

通过率 --%
时间上限 内存上限
1000/1000MS(Java/Others) 65536/65536K(Java/Others)