Codeforces Round #429 (Div. 1), problem: (E) In a Trap Solution In Java
import java.io.*; import java.util.*; public class E { int a; static final int LOG = 8; static final int BLOCK = 1 << LOG; static final int LOW_MASK = BLOCK – 1; int head; int …