Submission #291913


Source Code Expand

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

if a + b == a - b == c:
    print("?")

elif a + b == c:
    print("+")
elif a - b == c:
    print("-")
else:
    print("!")

Submission Info

Submission Time
Task B - A±B Problem
User j12013
Language Python (3.2.3)
Score 100
Code Size 170 Byte
Status AC
Exec Time 163 ms
Memory 8420 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 163 ms 8244 KiB
00_sample_01.txt AC 137 ms 8356 KiB
00_sample_02.txt AC 136 ms 8368 KiB
00_sample_03.txt AC 136 ms 8300 KiB
10_rand_00.txt AC 139 ms 8244 KiB
10_rand_01.txt AC 140 ms 8244 KiB
10_rand_02.txt AC 134 ms 8336 KiB
10_rand_03.txt AC 137 ms 8244 KiB
10_rand_04.txt AC 138 ms 8308 KiB
10_rand_05.txt AC 137 ms 8368 KiB
10_rand_06.txt AC 140 ms 8292 KiB
10_rand_07.txt AC 137 ms 8244 KiB
10_rand_08.txt AC 134 ms 8364 KiB
10_rand_09.txt AC 137 ms 8364 KiB
10_rand_10.txt AC 137 ms 8244 KiB
10_rand_11.txt AC 137 ms 8340 KiB
10_rand_12.txt AC 137 ms 8244 KiB
10_rand_13.txt AC 136 ms 8376 KiB
10_rand_14.txt AC 142 ms 8340 KiB
10_rand_15.txt AC 139 ms 8300 KiB
10_rand_16.txt AC 138 ms 8404 KiB
10_rand_17.txt AC 136 ms 8244 KiB
10_rand_18.txt AC 135 ms 8348 KiB
10_rand_19.txt AC 139 ms 8420 KiB
10_rand_20.txt AC 136 ms 8248 KiB
10_rand_21.txt AC 141 ms 8372 KiB
10_rand_22.txt AC 138 ms 8240 KiB
10_rand_23.txt AC 139 ms 8364 KiB
10_rand_24.txt AC 136 ms 8268 KiB
10_rand_25.txt AC 139 ms 8364 KiB
10_rand_26.txt AC 135 ms 8244 KiB
10_rand_27.txt AC 136 ms 8240 KiB
10_rand_28.txt AC 135 ms 8368 KiB
10_rand_29.txt AC 135 ms 8244 KiB