0
Given an array containing n integers A1,A2,…,An, where all of their initial values are 0. Please implement the four operations to the array described below:
Operations
Given the positive integer x and y, let every number in the range Ax~Ay (including Ax and Ay) be added by the given positive in...