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?
There is no such thing mentioned as circular subarray sum
this is not question of circular subarray sum
mistakes
- print ans of each testcase in seperate line
for that use endl - make size of array 10^6 as mention in question
also there is no need of if condition