There is no such thing mentioned as circular subarray sum

There is no such thing mentioned as circular subarray sum in this question, please point out where it is mentioned if mentioned. Also if it’s not the circular subarray problem, then what’s wrong with my code?

this is not question of circular subarray sum

mistakes

  1. print ans of each testcase in seperate line
    for that use endl
  2. make size of array 10^6 as mention in question

also there is no need of if condition

Modified Code