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.
This Kata has nothing to do with Roman numerals. You are supposed to create an alternate tally system. The traditional tally system is a system of counting in which each unit is represented by a line, and the units are grouped together in sets of up to five lines. The first four are vertical lines, and the fifth is a diagonal slash across the previous four. See below for how the numbers 1 through 10 are normally represented in tally marks.

For this Kata, rather than using the traditional method, the letters a through e are used to represent 1 through 5 respectively, so 1 would be a, two would be b, etc., with 7 for example represented as
eb
. Additionally, each e should be followed by a space, which in turn is followed by a line break (<br>
), so 7 would be represented ase <br>b
. Keep in mind that a number like 10 would be represented ase <br>e <br>
, and not simply ase <br>e
, since all e s are followed be<br>
.I admit I am stupid, but this description is so bad.
It doesn't have any bearing on the problem, but note that "3" is (in English-language terminology) an Arabic numeral, not a Roman numeral -- the Roman numeral for that value would be "III"
I can't argue with that, that's right :)
Thanks for the explaination, it makes sense now :)
Well, half of all problems are deciphering what the author wants you to do, don't feel bad :P
Basically the question boils down to: How many chunks of 5 can you get out of
n
. Each full chunk is represented by'e <br>'
in the solution. The remainder is thus represented asa, b, c, d
depending on what it is.I read the details a few times, and I'm still there reading it thinking I must be dumb... I really don't get it.
the problem would be 8 ky if the description was clearer) My solution is not perfect, but this is because when solving the problem I thought about 'html' and some other garbage. If in fact it is just taking an element from the list by a numeric value and multiplying the string '
' Apparently this is the meaning of programming - to find a simple meaning in moronic conditions.
line breaks after e bro
you can use iteration
it takes me 30 minutes to finish this kata :(;
god im so stupid :( .
3 current language have random tests.
.
It is mentioned though. After 5 tally's.
The description is just confusing. No examples given, trailing line breaks for no reason. Description should be updated to clarify these requirements.
Forked ruby translation with merge conflict solved as initial author was inactive :) please review and approve ~~
Loading more items...