This is the question of STL Challenges.
The code compiles and gives o/p perfectly on codeblocks ide but when I compile in the editor it gives"segmentation error".
Here is the link to my code:
This is the question of STL Challenges.
The code compiles and gives o/p perfectly on codeblocks ide but when I compile in the editor it gives"segmentation error".
Here is the link to my code: