Queen's Attack II Discussions | Algorithms | HackerRank
  • + 1 comment

    im getting a segmentation fault while im doing in c language..........if i take 2D array size as 100x100 then my code is passing 5 test cases.....and remaining test cases are writting a compiler message as segmentation fault..........if increase the size of 2D array to 10000x10000 then all the test cases are failing and returing a compiler message as segmentation fault...and for last i tried to declare the array as dynamically, if i do that then i got comlier message as subscripted value is neither array nor pointer nor vector this is the message i got from the compiler while i tried to use dynamically to declare a 2D array..........can you sort out from this one...