FMAP wrong answer

for which case our code FMAP is giving wrong answer,plz help ,our code is given below:

– Code Removed –

//