Codeforces Round #421 (Div. 2), problem: (E) Mister B and Beacons on Field Solution In C/C++

By | 2017-08-05T22:18:19+00:00 August 5th, 2017|Categories: C/C++, Programming|Tags: , , , , , , , , |

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; import java.util.TreeMap; /** * @author Don Li */ public class MisterBBeaconsField { int N = (int) 2e6 + 10; int SQRT = (int) (Math.sqrt(N) + 0.5); int[] f = new [...]