import java.util.Scanner; /** * @author supermejane * @date 2025/10/6 * @description 【模板】二维前缀和 */ public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int height = in.nextInt(), width = in.nextInt(), n = in.nextInt(); //数组为long[height + 1][width + 1]便于处理边...