Sample test case is passing but all other test cases are get failed.
Maximum Circular Sum
You have to initialize ms and cs with 0 and not with ar[0]β¦Also you are not printing the result in your code. After printing result for each test case you have to add an endl.
Refer this:
For any doubt with the concept, you can refer this:
1 Like