12,882,639 members (32,070 online)

# Algorithms

 Re: Factorials Tim Craig25-Jun-08 8:55 Tim Craig 25-Jun-08 8:55
 Re: Factorials Luc Pattyn25-Jun-08 11:01 Luc Pattyn 25-Jun-08 11:01
 Re: Factorials Tim Craig25-Jun-08 21:06 Tim Craig 25-Jun-08 21:06
 Re: Factorials cp987624-Jun-08 12:33 cp9876 24-Jun-08 12:33
 Re: Factorials Matthew Butler24-Jun-08 12:38 Matthew Butler 24-Jun-08 12:38
 Re: Factorials cp987624-Jun-08 14:05 cp9876 24-Jun-08 14:05
 Re: Factorials Luc Pattyn24-Jun-08 15:02 Luc Pattyn 24-Jun-08 15:02
 Re: Factorials cp987624-Jun-08 20:09 cp9876 24-Jun-08 20:09
 Hi Luc, I haven't worked through your code (are you sure the countN's do the right thing?). There is a little known fact (don't ask me how I know it!) that if n = 5q+r with 0 <= r < 5 then n! has the same rightmost non-zero digit as 2^n x q! x r! Using this the problems reduce easily. Peter "Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."
 Re: Factorials Luc Pattyn24-Jun-08 23:53 Luc Pattyn 24-Jun-08 23:53
 Re: Factorials cp987625-Jun-08 2:27 cp9876 25-Jun-08 2:27
 Re: Factorials Luc Pattyn25-Jun-08 2:34 Luc Pattyn 25-Jun-08 2:34
 Re: Factorials cp987625-Jun-08 2:40 cp9876 25-Jun-08 2:40
 Re: Factorials tim_one14-Jul-08 8:37 tim_one 14-Jul-08 8:37
 Re: Factorials Arash Partow25-Jun-08 2:14 Arash Partow 25-Jun-08 2:14
 Re: Factorials Ian Uy25-Jun-08 6:26 Ian Uy 25-Jun-08 6:26
 How to determine the next x,y coordinate for a tank in a 2-D game... Edmundisme18-Jun-08 8:35 Edmundisme 18-Jun-08 8:35
 Re: How to determine the next x,y coordinate for a tank in a 2-D game... 73Zeppelin18-Jun-08 11:38 73Zeppelin 18-Jun-08 11:38
 Re: How to determine the next x,y coordinate for a tank in a 2-D game... Matthew Butler18-Jun-08 11:44 Matthew Butler 18-Jun-08 11:44
 Re: How to determine the next x,y coordinate for a tank in a 2-D game... 73Zeppelin18-Jun-08 22:00 73Zeppelin 18-Jun-08 22:00
 Re: How to determine the next x,y coordinate for a tank in a 2-D game... Edmundisme18-Jun-08 12:00 Edmundisme 18-Jun-08 12:00
 Re: How to determine the next x,y coordinate for a tank in a 2-D game... Matthew Butler18-Jun-08 11:41 Matthew Butler 18-Jun-08 11:41
 Re: How to determine the next x,y coordinate for a tank in a 2-D game... Edmundisme18-Jun-08 12:01 Edmundisme 18-Jun-08 12:01
 Re: How to determine the next x,y coordinate for a tank in a 2-D game... CPallini18-Jun-08 21:19 CPallini 18-Jun-08 21:19
 Polyline offset algorithm beko16-Jun-08 21:59 beko 16-Jun-08 21:59
 Re: Polyline offset algorithm Alan Balkany17-Jun-08 4:07 Alan Balkany 17-Jun-08 4:07
 Last Visit: 31-Dec-99 18:00     Last Update: 23-Apr-17 18:36 Refresh « Prev1...162163164165166167168169170171 Next »