Maximum circular sum - problem

https://ide.codingblocks.com/s/52044

sir, my code is passing sample test case but is failing the other test case. wht is the error?

Hey, your code should exactly match the given output format so print the output for each test case in a new line.