Maximise Score submission error

Local codeblocks output matches expected one but WA verdict! why?
Problem link: MAXIMSCORE Problem - CodeChef

Here is the submission : CodeChef: Practical coding for everyone

1 Like

I tried it on Code::Blocks and Dev-C++, and both gave 1697 as output. I don’t know how you are getting 5832.