Re: [Jprogramming] Project Euler Problem 8

2014-07-05 Thread Linda Alvord
rogramming] Project Euler Problem 8 for n, there is the simpler: n =. ; cutLF wd 'clippaste' after selecting and copying from project euler site. - Original Message - From: Linda Alvord To: [email protected] Cc: Sent: Friday, July 4, 2014 11:14:53 PM Subject: Re: [J

Re: [Jprogramming] Project Euler Problem 8

2014-07-04 Thread 'Pascal Jasmin' via Programming
for n, there is the simpler: n =. ; cutLF wd 'clippaste' after selecting and copying from project euler site. - Original Message - From: Linda Alvord To: [email protected] Cc: Sent: Friday, July 4, 2014 11:14:53 PM Subject: Re: [Jprogramming] Project Euler Proble

Re: [Jprogramming] Project Euler Problem 8

2014-07-04 Thread Linda Alvord
Subject: Re: [Jprogramming] Project Euler Problem 8 Here's my try at this. A=:'73167176531330624919225119674426574742355349194934' B=:'96983520312774506326239578318016984801869478851843' C=:'85861560789112949495459501

Re: [Jprogramming] Project Euler Problem 8

2014-07-04 Thread Linda Alvord
+/i.996){y' f n 40824 Linda -----Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of mvillarino Sent: Friday, July 04, 2014 1:46 AM To: [email protected] Subject: Re: [Jprogramming] Project Euler Problem 8 Than

Re: [Jprogramming] Project Euler Problem 8

2014-07-03 Thread mvillarino
Thanks a lots!, Now i'll study this over the next week ! > >./ 13 */@:". \ n > > >(#~ ( 13 = '0' i.~ ])"1) 13,\ 40{. n > turns out I was wrong and it is faster to filter out the 0s! Same happens for problem nr 4, that of the maximum palindrome with five or six figures recently discussed.

Re: [Jprogramming] Project Euler Problem 8

2014-07-03 Thread 'Pascal Jasmin' via Programming
   timespacex ' >./ ([: */ "."0)"1 (#~ ( 13 = ''0'' i.~ ])"1) 13,\ n' 0.00241984 44672 - Original Message - From: 'Pascal Jasmin' via Programming To: "[email protected]" Cc: Sent: Thursday, July 3, 2014 7:3

Re: [Jprogramming] Project Euler Problem 8

2014-07-03 Thread 'Pascal Jasmin' via Programming
1) 13,\ n' 0.00065632 33792 turns out I was wrong and it is faster to filter out the 0s! - Original Message - From: mvillarino To: [email protected] Cc: Sent: Thursday, July 3, 2014 6:18:10 PM Subject: [Jprogramming] Project Euler Problem 8 I came to this solution, which happ

[Jprogramming] Project Euler Problem 8

2014-07-03 Thread mvillarino
I came to this solution, which happens to be a transliteration of the problem's formulation: >./ */"1 ".items"1(13,\number) where «numero» is the string with the number's digits (one thousand). Please note I'm no programmer, and I'm learning a little J with no other intent than just for curiosity.