Generally you get such problem when you hit run on IDE without custom inputs, Segmentation error is most common in this case, Personally i have been through so always try with custom inputs.
Read this :-
Generally you get such problem when you hit run on IDE without custom inputs, Segmentation error is most common in this case, Personally i have been through so always try with custom inputs.
Read this :-