AtCoder Beginner Contest 205
翻译中…
Problem Statement
翻译中…
For a base number $X$, the product of multiplying it $Y$ times is called $X$ to the $Y$-th power and represented as $\text{pow}(X, Y)$. For example, we have $\text{pow}(2,3)=2\times 2\times 2=8$.
翻译中…
Given three integers $A$, $B$, and $C$, compare $\text{pow}(A,C)$ and $\text{pow}(B,C)$ to determine which is greater.
翻译中…
Constraints
翻译中…
$-10^9 \leq A,B \leq 10^9$$1 \leq C \leq 10^9$- All values in input are integers.
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
A B C
翻译中…
Output
翻译中…
If $\text{pow}(A,C)< \text{pow}(B,C)$, print <; if $\text{pow}(A,C)>\text{pow}(B,C)$, print >; if $\text{pow}(A,C)=\text{pow}(B,C)$, print =.
翻译中…
样例
Input #1
3 2 4
Output #1
>
We have $\text{pow}(3,4)=81$ and $\text{pow}(2,4)=16$.
Input #2
-7 7 2
Output #2
=
We have $\text{pow}(-7,2)=49$ and $\text{pow}(7,2)=49$.
Input #3
-8 6 3
Output #3
<
We have $\text{pow}(-8,3)=-512$ and $\text{pow}(6,3)=216$.
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。