9688440 | CodeChef

I dont know where i am going wrong i have used the proper method and handled corner cases
logic- max sub array of 2 concatenated array and sum of array if it is positive plz help
see the submission below
https://www.codechef.com/viewsolution/38755746