分块大法好: 具体应用见例题。 一、A Simple Problem with Integers POJ - 3468: You have N integers, A1, A2, … , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a given interval. The other is to ask for the sum of numbers in a given interval. Input...