https://ide.codingblocks.com/#/s/15574
Question link: https://hack.codingblocks.com/contests/c/452/395
https://ide.codingblocks.com/#/s/15574
Question link: https://hack.codingblocks.com/contests/c/452/395
Coz you fixed the size of array x and y in merge sort function ,so you are getting run errror .
Just increase the size of the array
https://ide.codingblocks.com/#/s/15592
You have not just given the write data type and space ,i have modified your code,check this
https://ide.codingblocks.com/#/s/15578