level not working

Alphabetize

adgarxxx
8 years ago

0

i am using scratchpad which is a Mozilla Firefox dev tool ,i wrote a little script that immediately pulls the string from the input ,sorted and then submit ,i always have mor than 3 sec left but it still tell me incorrect answer?????????????

16replies
4voices
367views
f0rk [HackingGuy]
8 years ago

0

Maybe the format you submit the answer in is incorrect. Is there any whitespace at the end?

4 replies have been removed
adgarxxx
8 years ago

0

i will remove it but what i am missing????????

f0rk [HackingGuy]
8 years ago

0

You can’t submit an array ;)

adgarxxx
8 years ago

0

i used join and submited the result but still not working????

adgarxxx
8 years ago

0

thank a lot for the help so far but it is really killing me

f0rk [HackingGuy]
8 years ago

0

Remember, no whitespace.

adgarxxx
8 years ago | edited 8 years ago

0

my code is sortig correctly,and before time but still getting incorret answer ????
and i did remov whitespaces?????????????

? [bolofecal]
8 years ago

0

The levels is working.

them, other, cannot, any, will, likely, only, let, these, than, ever, which, could, how, since, also, wants, into, our, had, after, from, been, about, dear, with, she, twas, then, every, does, often, its, some, may, rather, should, hers, why, most, has, say

the solution

about, after, also, any, been, cannot, could, dear, does, ever, every, from, had, has, hers, how, into, its, let, likely, may, most, often, only, other, our, rather, say, she, should, since, some, than, them, then, these, twas, wants, which, why, will, with


0

[quote=Coding level 1][s]The words have been[/s] jumbled up, [s]your task is to write some code to return them to [/s]alphabetical order. [s]Then submit your answer in the [/s]same format, [s]for example: ant, badger, cattle, zebra. You have 5 seconds to complete the mission.[/quote]

adgarxxx
8 years ago

0

i solved finally but i had to do:

input.split(‘, ’); with white space and the same with join

so i had the correct code all the time but it is the white spaces??????

? [bolofecal]
8 years ago

0

the format for this levels requires whitespaces.

adgarxxx
8 years ago

0

thanks for @HackingGuy @bolofecal for the help

adgarxxx
8 years ago

0

and for @-ArmaGeddON- as well

? [bolofecal]
8 years ago

0

You’re welcome.


0

Anytime mate :)

f0rk [HackingGuy]
8 years ago

0

No problemo :)

You must be logged in to reply to this discussion. Login
1 of 17

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss