import java.io.*; import java.util.HashMap; public class Main { public static HashMap<Integer, int[]> map = new HashMap<>(); public static int cnt, setAllValue, setAllTime = -1, n; public static int[][] op = new int[100001][3]; public static void main(String[] args) ...