Submission #23420286


Source Code Expand

a, b, c = map(int, input().split())

c = c % 2 + 2

left = a ** c
right = b ** c

if left == right:
    print('=')
elif left < right:
    print('<')
elif left > right:
    print('>')

Submission Info

Submission Time
Task C - POW
User cubesat
Language Python (3.8.2)
Score 300
Code Size 196 Byte
Status AC
Exec Time 26 ms
Memory 9180 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
AC × 3
AC × 28
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All hand_01.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt, random_15.txt, random_16.txt, random_17.txt, random_18.txt, random_21.txt, random_22.txt, random_23.txt, random_24.txt, random_25.txt, random_26.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
hand_01.txt AC 21 ms 8864 KiB
random_01.txt AC 19 ms 9180 KiB
random_02.txt AC 19 ms 8856 KiB
random_03.txt AC 18 ms 9096 KiB
random_04.txt AC 18 ms 8864 KiB
random_05.txt AC 20 ms 8864 KiB
random_06.txt AC 18 ms 9032 KiB
random_07.txt AC 19 ms 8868 KiB
random_08.txt AC 17 ms 8852 KiB
random_09.txt AC 21 ms 8968 KiB
random_10.txt AC 20 ms 9024 KiB
random_11.txt AC 21 ms 8984 KiB
random_12.txt AC 17 ms 9092 KiB
random_13.txt AC 21 ms 8868 KiB
random_14.txt AC 19 ms 8868 KiB
random_15.txt AC 18 ms 9024 KiB
random_16.txt AC 25 ms 8868 KiB
random_17.txt AC 19 ms 8964 KiB
random_18.txt AC 19 ms 9096 KiB
random_21.txt AC 22 ms 8968 KiB
random_22.txt AC 20 ms 9072 KiB
random_23.txt AC 17 ms 8856 KiB
random_24.txt AC 18 ms 8976 KiB
random_25.txt AC 21 ms 9128 KiB
random_26.txt AC 19 ms 9032 KiB
sample_01.txt AC 17 ms 8968 KiB
sample_02.txt AC 26 ms 8976 KiB
sample_03.txt AC 18 ms 8968 KiB