Mastering Development

Segmentation fault when using large number of input data in C++

I would like to know the reason behind my code not working in case of large no. of input. Actual this is a problem from The problem The code is working on previous test cases. But not on the last test case, where the input is large. I would like to complete the problem […]