SP6377 SAMTWARR - Two Array Problem
Description
You are given two arrays each of length N(1
Input Format
The first line of input contains two integers - N, M. The folowing M lines contains information about queries.
On each query - one line:
First integer number cmd contains 0, 1 or 2 (type of query described above).
if cmd equals 0, then following 3 integers arr, left, right - 0
Output Format
On each query with cmd equals 0 you should output corresponding value described above.