Programming 1

Put your programming skills to the test in these challenges.

Re: Programming 1

Post by MrRubix on Mon Jun 16, 2008 9:18 pm
([msg=5011]see Re: Programming 1[/msg])

I used Excel to handle this one (with the help of a VBA Macro to process everything)
MrRubix
New User
New User
 
Posts: 17
Joined: Sun Jun 15, 2008 5:15 pm
Blog: View Blog (0)


Re: Programming 1

Post by seth_slade on Wed Jun 18, 2008 11:52 am
([msg=5148]see Re: Programming 1[/msg])

Yay... Just finished it. The challenge works - there is no bug. Make sure you have the correct spacing and input the words in the right order.

P.S. - Did it in C++. It's like trying to use a sledgehammer to do heart surgery. lol
seth_slade
New User
New User
 
Posts: 4
Joined: Wed May 28, 2008 5:34 pm
Blog: View Blog (0)


Re: Programming 1

Post 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.
Reoze
New User
New User
 
Posts: 1
Joined: Mon Jun 30, 2008 4:31 am
Blog: View Blog (0)


Re: Programming 1

Post by leorick on Wed Jul 02, 2008 6:50 am
([msg=6349]see Re: Programming 1[/msg])

Me too, alphabetic sort both wordlist.txt content and the scrambled words, and then compare it side by side. I used excel (VBA), faster when copy & paste since you only have 30secs :D
leorick
New User
New User
 
Posts: 2
Joined: Tue Jul 01, 2008 9:39 am
Blog: View Blog (0)


Re: Programming 1

Post by brodeur235 on Thu Jul 03, 2008 5:13 pm
([msg=6493]see Re: Programming 1[/msg])

For help, you should include your source code. I'm sure you'd get a lot more productive results, and you'd have less people to subtly insult, as you did MojoFilter,

Brodeur235
brodeur235
New User
New User
 
Posts: 11
Joined: Fri May 23, 2008 2:54 pm
Location: United States, TX
Blog: View Blog (0)


Re: Programming 1

Post by gctrump on Mon Jul 07, 2008 12:39 pm
([msg=6759]see Re: Programming 1[/msg])

hey, im just learning programming languages...what do you guys say would be the most useful for me to learn
gctrump
New User
New User
 
Posts: 1
Joined: Mon Jul 07, 2008 12:36 pm
Blog: View Blog (0)


Re: Programming 1

Post by tio on Mon Jul 07, 2008 3:29 pm
([msg=6773]see Re: Programming 1[/msg])

depends what you want to write. It is impossible to compare for example php with pascal or assembler

(back to the topic: I did this one in delphi)
tio
New User
New User
 
Posts: 22
Joined: Tue May 13, 2008 11:01 am
Location: Slovakia
Blog: View Blog (0)


Re: Programming 1

Post 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?
keeperofdakeys
New User
New User
 
Posts: 1
Joined: Mon Jul 07, 2008 9:04 pm
Blog: View Blog (0)


Re: Programming 1

Post 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.
thanaa
New User
New User
 
Posts: 16
Joined: Sat Jun 28, 2008 9:46 pm
Blog: View Blog (0)


Re: Permanent Programming 1

Post 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...
cy3_
New User
New User
 
Posts: 1
Joined: Sun Apr 27, 2008 10:39 am
Blog: View Blog (0)


PreviousNext

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests