3 testcases not working

plz check what is the problem in the code. https://ide.codingblocks.com/s/225499

hello @Akshita99
image

this line should be

while(!deq.empty() && deq.front() <= i-k )