Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I believe case of _ and test_ must be tested and behavour described.
Prolog translation
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Random Tests
Input:
text = "Q^REgCs@/MhcoaHXc@
SFb%GLz*\nl+D zx^jPkB\n\nCgMcznCwbs/g\nsOTFl*b""]markers = ["!","-","^","%","#","+","/","
Assertion: expected 'Q\nl\n\nCgMcznCwbs\nsOTFlb' to equal 'Q\nl\n\nCgMcznCwbs\nsOTFlb'
Is this issue?
Go Translation
i get the error "After applying rank of -1 the progress was expected to be 21, but was actually 20: expected 20 to equal 21"
INI rank: -1, katarank: 2, d: 2, progress: 80;
END rank: 1, katarank: 2, d: 2, progress: 20;
the rank current rank of the user is -1 and the activity rank is 2 therefore i don't see why would i need to add 1point to progress since the activity rank isn't smaller than the user rank. Any help?
When the comments say for the pageIndex method
// determines what page an item is on. Zero based indexes
// this method should return -1 for itemIndex values that are out of range
It really makes it sound like you're looking for the page an array value is on, not the index.
Haskell translation
This comment is hidden because it contains spoiler information about the solution
CS:
No sample tests
No random tests
Test.expect
should be replaced withchai + mocha
frameworkNeeds random tests that involve decoding characters as values and parameters of length greater than 1
The URL decoding components part is not explained whatsoever, the description should also provide examples on other character decodings and explain to users that they can use a preloaded function
decodeURIComponents
the reference solution in PHP does not seem to be correct / conform to the other languages:
My submitted JavaScript and C solutions return
"UpperCase"
for that input.can anyone explain to me whats going on here? why with such input data:
text = "a \n b \nc "
symbols = {"#", "$"}
the correct answer is: "" (string.Empty). LOL.
the assignment says that everything that comes after any of the characters that are in the array must be skipped. BUT this line does not contain ANY characters from the array!
gentlemen who create these tasks and read this, please work on a clearer description of what you generally want from us, ty
upd: damn, after reading the description of this task i immediately thought that everything couldnt be that simple. This isnt a 4 kyu task, its much easier. but now that i finally understand the main problem of this task (the "ideal" description of this problem), now i understand that this is really not a 4 kyu xD
Loading more items...