Ad
  • Default User Avatar

    @JJRG you can approve translations as you have more than 4,000 honor, as indicated here. Sadly, the translations authored by a user are not listed on their profile.

    @Ott-gs when you author a translation, you should post a suggestion on the Discourse page of the kata, with a link to the translation. Otherwise, few people will notice it.

  • Default User Avatar

    I'm sorry, but I don't think my profile has privileges to review and approve translations. I don't see an option that allows it and I can't see the translations you're talking about either.
    :-(

  • Custom User Avatar

    A long time ago, I posted 4 translations for COBOL challenges, but I haven't received any updates. Would you be so kind as to give me your valuable time and check the translations?

    Thank you in advance!

  • Default User Avatar

    Okkk dfhwze.
    Now is working ok all the time.
    Thaaaaanksss

  • Default User Avatar

    I have passed the tests trying again and again until in the random tests there were no entries with n > 44 and I was able to submit the solution and it can be seen in "Solutions".
    My solution is correct, but it gives an error with n > 44 (and it should not give an error)

  • Custom User Avatar

    Try again now. I lower limit even more. There's probably a pic 9(3) that needs to be pic 9(4) somewhere in the test setup.

  • Default User Avatar

    dfhwze, with your fix it is now working much better.
    Now, the only error is when the input n is greater than 44, which must be truncating something in the tests

    For example: Testing n = 45 , it returns Incorrect length Expected 35, but got 1035.
    The correct one is mine (1035) but it must be truncating 3 positions and that is why it does not go beyond 999 and says that the correct thing is 035 instead of 1035

  • Custom User Avatar

    This translation is unmanageable. I've fixed the ref sol, but had to lower random test cases. If you want more random test cases, try to get in touch with original author of the translation on Discord.

  • Custom User Avatar

    I'll try to fix it, but I haven't touched COBOL in ages.

  • Default User Avatar

    Ups.
    I am sorry. It is COBOL.

  • Custom User Avatar

    I can't see what is the language you have problems with? Seeing your code would also help.

  • Default User Avatar

    Can someone fix the tests?
    Please

  • Custom User Avatar

    Common Lisp translation, please approve / reject (author inactive).

  • Default User Avatar

    There is an error in the test cases when n > 2.
    In my program when n = 3 my result is length = 6 and array(1,1,1,1,2,1)
    In my program when n = 6 my result is length = 21 and array(1,1,1,1,2,1,1,3,3,1,1,4,6,4,1,1,5,10,10,5,1)
    etc...
    All my tests have a correct answer, but something is wrong with the test cases because it tells me that it is not correct.
    Please, solve the bug.

    I have seen another error in the Sample Tests:
    move 3 to n
    move 6 to el
    move 1 to e(1) e(2) e(3) e(4)
    move 2 to e(5)
    perform doTest
    end tests.

    It is wrong, the correct one is:
    move 3 to n
    move 6 to el
    move 1 to e(1) e(2) e(3) e(4) e(6)
    move 2 to e(5)
    perform doTest
    end tests.

  • Default User Avatar

    Thanks monadius.
    It is working now.

  • Loading more items...