Skip to content

Baekjoon 5026

1. Problem

문제 확인하기

2. Solution (Python, memory: 31256KB, time: 128ms)

for _ in range(int(input())):
    prob = input()
    if prob != 'P=NP':
        a, b = map(int, prob.split('+'))
        print(a + b)
    else:
        print('skipped')