3 kyu
One Line Task: Check Range
1,580myjinxin2015
Loading description...
Puzzles
Restricted
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
This challenge shows how pointles and miserable sports programming is. Why the hell you would set a code characteristic to the actual amount of chars?
I mean, you can just, you know, not solve it.
Preposterous! Obviously if I dislike something, nobody should be able to enjoy it.
haha ...im having the shortest code i can write but with extra of 2 chars
Can someone give me a hint? I tried three different array methods - filter, map and reduce. With filter, I can get the code to 49. Would love a hint as to which method will do the trick, so I can focus my efforts....
This one hurt a lot, cool kata tho
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
very intuitive
This comment has been hidden.
Sometimes, the obstacle between resolved and unresolved is only one character. ;-]
im at 49 ...
49.....:(
finally 48 but it needs <48...
My first atempt was 50!
i have 48 nice:))))))
What a nice day i have 49 :) Excelent :) Now it is time to struggle where i have more :)
Great kata. I spent an hour wondering where I could shave off a character. Turns out I had a new line accidentally. D:
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
your code length = 48 - Expected: 'code length < 48', instead got: 'code length >= 48'
fml
This comment has been hidden.
This comment has been hidden.
Ok, I'll try, thanks
You replied so you should see now, apparently spoilers drop if you leave a comment (hence all the
.
s below)..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
That's a lot of dots...
.
.
.
.
doesn't work!
.
.
.
.
.
.
.
Please help. Why do I get this error? The code works perfectly in my browser console.
P.S. I'm newbie in Javascript, so please sorry, if it's something obvious.
sum
isn't a JS function..
ReferenceError: a is not defined at /home/codewarrior/index.js:5:40 at Object.handleError
Nice challange, however I feel there were too much hints in the comments. :) At least I was able to solve in an hour with your answer.
This comment has been hidden.
This comment has been hidden.
Your last hint helped me a lot. Thanks!
.
(.)
.
.
.
. lol
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
Thanks mate, that sorted me out.
.
.
.
.
.
.
.
.
right
.
.
.
.
.
.
.
.
.
.
time well spent. thanks:)
Happy coding
^_^
This comment has been hidden.
I just can say: Your code is very very different from those submitted solution. That is, You should replace the array methods, judgement expression with another better array method(more shorter?) and a better judgement expression. Of course, you also need a counter, instead of
.length
. If you still have no idea, please post something at gitter channel for more help ;-)This comment has been hidden.
.
.
.
.
.
.
nice
.
.
.
.
.
.
.
.??
..!
Hah! I did it. Just took a long time to go from 48 to 47 characters. LOL
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
.
Lol
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Approved
This comment has been hidden.
;-)
Are you sure
6kyu
is actually accurate measure of this kata's difficulty? ;-)I've changed my evaluation. You are right,
6kyu
was too low.asd
This comment has been hidden.
lol
asd
.
.
/!\ big issue !!! /!\ :
I think it should be 49 instead of 48 !
; ) )
I could only get down to 49, so that wouldn't help either :P
Me too 49... but i knew before that this solution will be not good enough;-)
: ' (
set limit to 84? ;-)
What about a new series like "multiline task" - for beginners like us...:-D? You often have both parts...;-)