I am getting a segmentation error on one of the Hacker Rank\'s test case while the other two cases are working fine. Even the same code is working fine in my system(using DE