Interactive Bulls and Cows (Hard)

CodeForces - 753C