문제 : https://www.acmicpc.net/problem/2230 정답 코드 import sys def solve(): start = 0 end = 0 answer = 2000000000 while end = M: if answer >= subtraction: answer = subtraction start += 1 if start > end: start -= 1 end += 1 elif subtraction < M: end += 1 print(answer) return if __name__=="__main__": input = sys.stdin.readline N, M = map(in..