Nastya Hasn't Written a Legend

传送门 题目: In this task, Nastya asked us to write a formal statement. An array aa of length nn and an array kk of length n−1n−1 are given. Two types of queries should be processed: increase aiai by xx. T
相关文章
相关标签/搜索