import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays;import java.util.Comparator; import java.util.List; import java.util.NoSuchElementException; class Main { public static void main(String[] args) { new Main().run(); } int access(int[][] a,int i,int j) { if(i<0||j<0)return 0; return a[i][j]; } int[] get(int[][][] sum,int left,int right,int top,int bottom){ int[] ret=new int[2]; for(int t=0;t<2;++t) { ret[t]=access(sum[t],bottom-1,right-1)-access(sum[t],bottom-1,left-1)-access(sum[t],top-1,right-1)+access(sum[t],top-2,left-2); } return ret; } void solve(int N,int B,int[] X,int[] Y,int[] P) { int M=400; int[][][] sum=new int[2][M][M]; for(int i=0;iB)--right; ans=Math.max(ans, get(sum,left,right,top,bottom)[0]); } } } System.out.println(ans); } void run() { FastScanner sc=new FastScanner(); int N=sc.nextInt(); int B=sc.nextInt(); int[] X=new int[N]; int[] Y=new int[N]; int[] P=new int[N]; for(int i=0;i Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }