Set bits in a range of numbes

time limit exceeded. Link is
https://ide.codingblocks.com/s/241257

hello @saxena.anukrati15
u r not reading n.
image