Ad
  • Default User Avatar

    This one is from an experinced developer for sure! I laughed at first, but then i changed my oppinion. Nice one dude.

  • Default User Avatar

    Dude. All you need to do is multiply 1.15 to your answer.

  • Default User Avatar

    Not sure if the worst, but the description is ambiguous on how to apply the 15%.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Agreed, but then again, are there any non-dubstep songs that contain 'wub' as part of the original lyrics? haha.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I tried with modifications (so that it compiles) @WERT's code in Eclipse. His results are the same in Eclipse as at CW: all are false except the first one: dblLinear(10). For 20 his code returns 55 in Eclipse instead of 57 but I must agree with you that it returns 57 at repl.it...
    Which one must we trust, Eclipe + CW or Netbeans + repl.it?-(
    Anyway his code takes hours for: dblLinear(600000) instead of a fraction of second. Better to change it.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Hi g964,

    He means that in IDEA or NetBeans his code produces dblLinear(20) = 57, while here it produces dblLinear(20) = 55. Could it be some bug in Java machine used here?

  • Custom User Avatar

    The tests are the same in all languages and lots of CW passed the tests without problems. Don't post an issue about the kata without being sure that the problem is in the kata. First verify your code:-)
    What do you mean with:

    it violates 20->57 test case, showing 20->55

    Please rather than giving your code it would be better to reproduce the results of the failing tests.