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.
whole numbers, integers, and decimals, floats, are different kinds of numerical data. There is no need to worry about floats because that isnt the data being tested.
if you have a problem it may be like mine
i wrote"str.back-i" that wrong because you get the last element character and subtract i
ex:if str="abc"
you make in the loop c-0,c-1,c-2
not index change
I believe case of _ and test_ must be tested and behavour described.
Prolog translation
This is novice level?
No idea. Your code is most probably wrong.
To know exactly, we would have to see your code.
i think, it's easy for 4 kuy
Test Results:
Kata
Fixed_Test
Random_Test
Expected: equal to "MDCCXL"
Actual: "MDCCХL"
why didn't the test pass?
No, it is more difficult than the other 6kyu tasks.
This comment is hidden because it contains spoiler information about the solution
C fork
fixed
Thank you bro!
Your hint is was on point! 🤝
.
Your code failed to handle duplicate values.
For example, let's use the collection
[1,2,3,2]
and theitems_per_page
is2
. The pages should be[1,2]
and[3,2]
. With your solution, if you dopage_index(3)
, it returned0
. Even though, the element fromcollection[3]
is put on page1
.So, it's a bug in your solution. Not a kata issue.
Loading more items...