getting run error in one of the test cases https://ide.codingblocks.com/s/93843
Change the line no 2 : #define MAX 1000