백준 2042번 (구간 합 구하기, C++) [BAEKJOON]

백준 2042번 ‘구간 합 구하기’ 문제에 대한 글입니다. ‘세그먼트 트리(Segment Tree)’ 알고리즘을 이용하여 해결하였습니다. (This article is about Baekjoon Number 2042 ‘Summing the intervals’ problem. It was solved using the ‘Segment Tree’ algorithm.)