SP18185 GIVEAWAY - Give Away

Description

You are given a **1-indexed** array **X**, consisting of **N** integers, and a set of **Q** queries. There are two kinds of queries: 1. **0 a b c** Here you are required to return the number of elements with indices in **\[a,b\]** greater than or equal to **c** 2. **1 a b** Here you are required to change the **a $ ^{th} $** element of array to **b**.

Input Format

N/A

Output Format

N/A