package javaSana.Day0917.segmentTree;import java.io.BufferedReader;import java.io.InputStreamReader;import java.util.StringTokenizer;public class B_1275 { static int N, Q; static long[] arr, tree; public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); N = Integ..