Add ULL to all the large integer literals. Without this they can be treated as being signed by the compiler (at least on 32 bit machines) leading to underflow problems and strange output when calculating the elapsed time.
Add ULL to all the large integer literals. Without this they can be treated as being signed by the compiler (at least on 32 bit machines) leading to underflow problems and strange output when calculating the elapsed time.