i guess if the starting address of nr is same as any of previous nr's address when re-allocating it will affect the "bool operator < (N a,N b)" function.. I don't know how to overcome it
so I tried with 2D static nr[10000][10000] which led me to SIGKILL(exceeded memory) -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
