import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static long maximumPeople(long[] p, long[] x, long[] y, long[] r, int m, int n) { // Return the maximum number of people that will be in a sunny town after removing exactly one cloud. long max = 0; boolean[] cloud_city = new boolean[n]; for(int i=0; i= range_begin && x[j] <= range_end){ cloud_city[j] = true; temp_pop += p[j]; //System.out.println("temp: "+temp_pop); } } if(temp_pop > max){ max = temp_pop; } } long pop_sum = 0; for(int i = 0; i