Programming 1(algoritm works?)

Put your programming skills to the test in these challenges.

Programming 1(algoritm works?)

Post by dogman101111 on Wed Feb 24, 2016 8:19 pm
([msg=91702]see Programming 1(algoritm works?)[/msg])

So im stuck on programming mission #1. i wrote the program to unscramble the words but i am still getting the "sorry your answer is wrong" message. I tested my program with both my own wordlist and scrambled words and the hackthissite provided wordlist. Is seems to work flawlessely to me. Is this mission supposed to be solved by other means? OR does it just lock out after a few wrong attempts?
i wrote the code in c++....
dogman101111
New User
New User
 
Posts: 2
Joined: Wed Feb 24, 2016 8:12 pm
Blog: View Blog (0)


Re: Programming 1(algoritm works?)

Post by boriz666 on Thu Feb 25, 2016 4:26 am
([msg=91703]see Re: Programming 1(algoritm works?)[/msg])

Are you sure you provide your answer in the right format?
word1,word2,word3, ... word9,word10

ALso you should use HTS's wordlist not some you find, else you will
possibly get the wrong words.
boriz666
Experienced User
Experienced User
 
Posts: 99
Joined: Tue Mar 24, 2015 11:53 am
Blog: View Blog (0)


Re: Programming 1(algoritm works?)

Post by dogman101111 on Thu Feb 25, 2016 2:30 pm
([msg=91706]see Re: Programming 1(algoritm works?)[/msg])

yes i have tested my code using the provided HTS wordlist. and yeah i have my program outputting the unscrambled words in the proper format (word1, word2, word3....). i tried it also with no spaces in between the commas. could there be more than one possible word in the HTS word list that fits the unscrambled word? if so then i found my bug because i stop searching the list when i found a word that fits(therefore only outputting one possibility).

-- Thu Feb 25, 2016 2:54 pm --

GOT IT! Thank you for replying
dogman101111
New User
New User
 
Posts: 2
Joined: Wed Feb 24, 2016 8:12 pm
Blog: View Blog (0)


Re: Programming 1(algoritm works?)

Post by limdis on Thu Feb 25, 2016 6:26 pm
([msg=91712]see Re: Programming 1(algoritm works?)[/msg])

dogman101111 wrote:GOT IT! Thank you for replying

+1
"The quieter you become, the more you are able to hear..."
"Drink all the booze, hack all the things."
User avatar
limdis
Moderator
Moderator
 
Posts: 1657
Joined: Mon Jun 28, 2010 5:45 pm
Blog: View Blog (0)



Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests