Submission #290867


Source Code Expand

A, B, C = map(int, raw_input().split())
check = ""

if A + B == C:
    if A - B == C:
        check = "?"
    else:
        check = "+"
elif A - B == C:
    check = "-"
else:
    check = "!"

print check

Submission Info

Submission Time
Task B - A±B Problem
User san46
Language Python (2.7.3)
Score 100
Code Size 218 Byte
Status AC
Exec Time 55 ms
Memory 3308 KiB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 34
Set Name Test Cases
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 10_rand_00.txt, 10_rand_01.txt, 10_rand_02.txt, 10_rand_03.txt, 10_rand_04.txt, 10_rand_05.txt, 10_rand_06.txt, 10_rand_07.txt, 10_rand_08.txt, 10_rand_09.txt, 10_rand_10.txt, 10_rand_11.txt, 10_rand_12.txt, 10_rand_13.txt, 10_rand_14.txt, 10_rand_15.txt, 10_rand_16.txt, 10_rand_17.txt, 10_rand_18.txt, 10_rand_19.txt, 10_rand_20.txt, 10_rand_21.txt, 10_rand_22.txt, 10_rand_23.txt, 10_rand_24.txt, 10_rand_25.txt, 10_rand_26.txt, 10_rand_27.txt, 10_rand_28.txt, 10_rand_29.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 49 ms 3252 KiB
00_sample_01.txt AC 47 ms 3260 KiB
00_sample_02.txt AC 49 ms 3240 KiB
00_sample_03.txt AC 50 ms 3260 KiB
10_rand_00.txt AC 50 ms 3260 KiB
10_rand_01.txt AC 49 ms 3304 KiB
10_rand_02.txt AC 50 ms 3264 KiB
10_rand_03.txt AC 49 ms 3260 KiB
10_rand_04.txt AC 48 ms 3264 KiB
10_rand_05.txt AC 48 ms 3260 KiB
10_rand_06.txt AC 49 ms 3260 KiB
10_rand_07.txt AC 48 ms 3260 KiB
10_rand_08.txt AC 48 ms 3256 KiB
10_rand_09.txt AC 49 ms 3264 KiB
10_rand_10.txt AC 49 ms 3272 KiB
10_rand_11.txt AC 49 ms 3264 KiB
10_rand_12.txt AC 49 ms 3300 KiB
10_rand_13.txt AC 49 ms 3264 KiB
10_rand_14.txt AC 51 ms 3252 KiB
10_rand_15.txt AC 50 ms 3264 KiB
10_rand_16.txt AC 49 ms 3276 KiB
10_rand_17.txt AC 50 ms 3256 KiB
10_rand_18.txt AC 49 ms 3264 KiB
10_rand_19.txt AC 49 ms 3268 KiB
10_rand_20.txt AC 49 ms 3304 KiB
10_rand_21.txt AC 47 ms 3308 KiB
10_rand_22.txt AC 48 ms 3264 KiB
10_rand_23.txt AC 49 ms 3304 KiB
10_rand_24.txt AC 55 ms 3212 KiB
10_rand_25.txt AC 51 ms 3260 KiB
10_rand_26.txt AC 49 ms 3304 KiB
10_rand_27.txt AC 49 ms 3256 KiB
10_rand_28.txt AC 48 ms 3260 KiB
10_rand_29.txt AC 49 ms 3248 KiB