Query #i asks you to output the sum of numbers on subarray , There is an integer array Arr of length N and Q queries. If this sounds too abstract, let’s look at specific example: Represented by two numbers L and R, and it asks you to compute someįunction Func with subarray Arr as its argument.įor the sake of brevity we will denote Func() as the value of Func on subarray Arr. You are given array Arr of length N and Q queries. It applies to the following class of problems:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |