Added Codeforces 474A & 474B
Codeforces 474F simplified segment tree & memory optimized twice