Codeforces 500E. New Year Domino 倍增/线段树+离线
E. New Year Dominotime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputCelebrating the new year, many people po