SIGABRT error in MXMLCM

https://www.codechef.com/viewsolution/30958357

SIGABRT errors are caused by your program aborting due to a fatal error. In C++, this is normally due to an assert statement in C++ not returning true, but some STL elements can generate this if they try to store too much memory.

Value of LCM may go beyond int and long long long int too

That would raise WA not any runtime error.

it is also possible that you have taken an array arr and a variable x and try to use variable as an array like taking inputs in it or trying to sort it. Please check your program properly.