Codechef IDE is horrible(for me atleast)

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 :-

2 Likes