What is the error in my code?

at line no 20
correct one
if(mp[qu.front()]>1)

Not working this change

check again it is working for me
have you provide input with .

for which case it is not giving correct output??