Is it only with me or this problem frequently arises.
Code works locally but gets gives segmentation fault error here
kunal-kadian
#3
I was having same problem.
But then, I inserted a cout<<""; somewhere in between code… and Voila ! It’s working ! Got Correct Ans.
Don’t ask why that worked