Programming 2

Put your programming skills to the test in these challenges.

Programming 2

Post by jack10121992 on Fri Aug 15, 2008 2:13 pm
([msg=9812]see Programming 2[/msg])

I have successfully written a program to analyse the image but, when I get the ascii character codes, the morse is wrong. One string was: .---,,--,,---,-----,,,,,---,--,-. What's the problem?
jack10121992
New User
New User
 
Posts: 1
Joined: Fri Aug 15, 2008 2:00 pm
Blog: View Blog (0)


Re: Programming 2

Post by Inkhosi on Fri Aug 15, 2008 5:05 pm
([msg=9822]see Re: Programming 2[/msg])

This may sound a bit stupid, but morse is dots and dashes so shouldn't the commas be dots?
Inkhosi
New User
New User
 
Posts: 4
Joined: Tue Aug 12, 2008 5:06 pm
Blog: View Blog (0)


Re: Programming 2

Post by dj_kat on Sat Aug 16, 2008 10:14 am
([msg=9850]see Re: Programming 2[/msg])

actually that isnt stupid its what the problem is. I believe that has to do with a certain start value in the loop. I dont have any comma's in my answer.
this is one of my outcomes

.-.. .-- -.. -... -... -. ..-. - --.- .----


its just dots and dashes however It never gets accepted
dj_kat
New User
New User
 
Posts: 11
Joined: Sun Aug 10, 2008 12:53 pm
Blog: View Blog (0)


Re: Programming 2

Post by leonidas_heaven on Tue Sep 09, 2008 5:01 am
([msg=11247]see Re: Programming 2[/msg])

HEY DJ can you tell me in which language you completed this mission..i have tried in PHP,perl,c++ all have the same common problem...GD is not present..so thats why i am asking..
Challenges are not meant to be taken easily,rather they are meant to be taken Seriously
leonidas_heaven
Experienced User
Experienced User
 
Posts: 66
Joined: Sun Jun 01, 2008 5:20 am
Location: Uttarakhand,India
Blog: View Blog (0)


Re: Programming 2

Post by eljonto on Mon Nov 03, 2008 3:14 am
([msg=14406]see Re: Programming 2[/msg])

You have to decode the more code into actual textual characters to get the password- the password isn't dots and dashes, its text.
@leonidas_heaven- i did it in java- very very easy because of its awt library- pm me for help using it in you need
-Quis custodiet ipsos custodes?, Juvenal
_________________________________________________________________
User avatar
eljonto
Poster
Poster
 
Posts: 373
Joined: Thu Apr 17, 2008 1:16 am
Location: Australia
Blog: View Blog (0)


Re: Programming 2

Post by heldopslippers on Sun Mar 22, 2009 5:31 pm
([msg=20333]see Re: Programming 2[/msg])

hee guys ! ...

ehm did sombody programm this in ruby ? .. (It is actually a verry simple mission ...
but to do this in ruby you nead some librarys that don't work :P ... )

bye !
I got it working :D (so if somebody is trying to write it in ruby pm me and i will give you some tips )
heldopslippers
New User
New User
 
Posts: 2
Joined: Sun Mar 22, 2009 5:28 pm
Blog: View Blog (0)


Re: Programming 2

Post by ibizaman on Mon May 04, 2009 5:27 pm
([msg=23152]see Re: Programming 2[/msg])

Hi,

Compared to your problems, mine seems quite obvious but... how do you manage to save your picture, run your program and post the result in less then 15 seconds ? 30 seconds for the first one was nearly not enough :|

Thanks
ibizaman
New User
New User
 
Posts: 2
Joined: Mon May 04, 2009 5:23 pm
Blog: View Blog (0)


Re: Programming 2

Post by TheMindRapist on Mon May 04, 2009 7:21 pm
([msg=23156]see Re: Programming 2[/msg])

5 seconds to save the image
.001 seconds for the program to run
3 seconds to copy the result
3 seconds to paste it in and hit enter
Keep multiple windows up at once if you have to, or learn to submit your answer/get the image using sockets.
Image
User avatar
TheMindRapist
Contributor
Contributor
 
Posts: 585
Joined: Mon Apr 14, 2008 4:57 pm
Blog: View Blog (0)


Re: Programming 2

Post by ibizaman on Tue May 05, 2009 1:38 am
([msg=23167]see Re: Programming 2[/msg])

okay, so it's possible :D

Thanks !
ibizaman
New User
New User
 
Posts: 2
Joined: Mon May 04, 2009 5:23 pm
Blog: View Blog (0)


Re: Programming 2

Post by Defience on Wed May 06, 2009 9:03 am
([msg=23250]see Re: Programming 2[/msg])

I initially did it similar to what TheMindRapist described, by saving the image, running my code, then copying and pasting the results. The nice thing about these challenges is that if you're fairly new to any programming, you will gain more experience as you go on. I'm sure I could rewrite this one now using automation.
User avatar
Defience
Addict
Addict
 
Posts: 1265
Joined: Thu Jun 12, 2008 3:16 pm
Blog: View Blog (0)


Next

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests