Ad
  • Custom User Avatar

    Thanks for the clear explanation about the alternate tally system! Your details really helped me understand the kata better and guided me to craft my own solution. Appreciate the insight and the community support!

  • Custom User Avatar

    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.
    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 as e <br>b. Keep in mind that a number like 10 would be represented as e <br>e <br>, and not simply as e <br>e, since all e s are followed be <br>.

  • Custom User Avatar
  • Custom User Avatar

    I admit I am stupid, but this description is so bad.

  • Custom User Avatar

    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"

  • Custom User Avatar

    I can't argue with that, that's right :)
    Thanks for the explaination, it makes sense now :)

  • Custom User Avatar

    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 as a, b, c, d depending on what it is.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    line breaks after e bro
    you can use iteration
    it takes me 30 minutes to finish this kata :(;
    god im so stupid :( .

  • Custom User Avatar

    3 current language have random tests.

  • Custom User Avatar

    .

  • Custom User Avatar

    It is mentioned though. After 5 tally's.

  • Custom User Avatar

    The description is just confusing. No examples given, trailing line breaks for no reason. Description should be updated to clarify these requirements.

  • Custom User Avatar

    Forked ruby translation with merge conflict solved as initial author was inactive :) please review and approve ~~

  • Loading more items...