First time here? Check out the FAQ!
answered 2012-03-03 17:22:16 +0100
Thanks, I thought doing it this way might be really slow but after some testing it appears that even with large inputs it doesn't take long to calculate.