by Reoze on Mon Jun 30, 2008 4:33 am ([msg=6116]see Re: Programming 1[/msg])
I used a few alphabetic sorts and indexed the real words with the sorted words then compared, Someone mind giving me a heads up on a quicker way to do it? I've probably done it the least efficient way possible but i'm still curious how others have done it.
by keeperofdakeys on Mon Jul 07, 2008 9:09 pm ([msg=6794]see Re: Programming 1[/msg])
just made a python program this morning mine checks too see if the letters of everyword are in every word in the word list
my problem is that i simply can't get the words into the program fast enough there is no way I can do it at the moment I'm using arguments and a run command with the words and outputting into a file in the right format
how did everyone else get the words in the prgram?
by thanaa on Tue Jul 08, 2008 10:20 am ([msg=6840]see Re: Programming 1[/msg])
i used php. copy/pasted words into a textarea form, submitted, processed the wordlist and scrambled words, matched total ascii values then sorted the remainders and did a $a == $b of scrambled vs remainders. It was major overkill. Re-wrote it for fun. just did sort on both and a quick array comparison. Much less code for the same thing.
by cy3_ on Tue Jul 08, 2008 4:15 pm ([msg=6877]see Re: Permanent Programming 1[/msg])
I know this isn't available to non-Windows users, but I always use Visual Basic .NET Express (free version) for quick tasks like this. Very, very easy to program, alhtough I'll admit I am experiencing the formatting problem discussed at the beginning of this thread...