I have a program that run for 1000 time and I give the size of network and it calculate time , Now for big size like 256 when run it after afew seconds program stop work , although for lower size give the result .
If you have too large N/n, you program will probably won't be able to allocate all that memory. The simplest solution is: don't make your array that big.
but I should use big sizes for my program . This program is one part of my master project and I must get result .
Do you think if I run program in another computer , it give answer ?
This program in java give answer but I write it in C++ and now for big size when run program 1000 time did not give answer !!!!! but for 10 times for big size give answer .