Page 1 of 1

Re: 12319 - Edgetown's Traffic Jams

Posted: Mon Oct 13, 2014 8:37 pm
by Repon kumar Roy
In the description of the blocks in the proposal should be understood that the blocks are oriented going out from the first element in the line to each of the adjacent elements (the same fact applies to the old configuration).
Don't miss this point , The First input roads are not all bi - directional
Don't Use memset_value too high ( I used 10^8 & Floyd-Warshall)

Re: 12319 - Edgetown's Traffic Jams

Posted: Mon Oct 13, 2014 10:08 pm
by brianfry713
http://www.cplusplus.com/reference/cstring/memset/

the function fills the block of memory using the unsigned char conversion of the second argument, so it should be between 0 and 255.