The explanation section for the problem (https://www.codechef.com/problems/COPS) is as:
Example 1 : Cops in house 12 can cover houses 1 to 68, and cops in house 52 can cover the rest of the houses. So, there is no safe house.
Question : How can cops in house 12 cover 1 to 68 , as x=7 and y=8 (as per given test case) meaning they can search for maximum 56 houses!.
Example 2 : Cops in house 21 can cover houses 1 to 41, and cops in house 75 can cover houses 55 to 95, leaving houses numbered 42 to 54, and 96 to 100 safe. So, in total 18 houses are
Question : Cops in house 21 can only search for 20 houses (x=10 and y= 2), and similarly cops in house 75 can also search for 20 houses. That would mean a maximum of 40 houses can be searched right. So the output should then be 60 correct ?