c题java直接用莫队都能过 import java.io.*; import java.util.Arrays; import java.io.IOException; public class Main { public static void main(String[] args) throws IOException { // Scanner sc = new Scanner(System.in); Reader sc = new Reader(); int n = sc.nextInt(), m = sc.nextInt(), k = sc.nextInt(); int[] a = ...