You need to sign in or sign up before continuing.×
Ad
  • Custom User Avatar

    It's broken?
    FibonacciTest
    [0]
    [1]
    [2]
    [3]
    [4]
    [5]
    [-6]
    [-96]
    [1,000]
    [1,001]
    [-62]
    [-73]
    testFib[-73]
    expected:<806515533049393> but was:<-806515533049393>
    Stack Trace
    Completed in 3ms
    Completed in 7ms
    [-44]
    [-48]
    [-96]
    [-28]
    [-68]
    [-69]
    testFib[-69]
    expected:<117669030460994> but was:<-117669030460994>
    Stack Trace
    Completed in 3ms
    [-34]
    [-53]
    testFib[-53]
    expected:<53316291173> but was:<-53316291173>
    Stack Trace
    Completed in 2ms
    [50,541]
    [1,098,224]
    testFib[1,098,224]

  • Custom User Avatar

    I can't pass the test 09. I measured the slow solution(N^2) on test 08 and got an average time of 430 ms.My solution, as I believe for (logN), takes an average of 80-90ms.However, this is not enough to pass test09

    KataTest
    test01_Example
    test02_TwoPoints
    test03_DuplicatedPoint
    test04_Tiny
    test05_Small
    test06_TwoPoints
    test07_DuplicatedPoint
    test08_Medium
    Log
    Прошло времени, мс: 103
    Прошло времени, мс: 92
    Прошло времени, мс: 57
    Прошло времени, мс: 92
    Прошло времени, мс: 67
    Прошло времени, мс: 75
    Прошло времени, мс: 99
    Прошло времени, мс: 73
    Прошло времени, мс: 62
    Прошло времени, мс: 72
    Test Passed
    Completed in 811ms
    test09_Large
    STDERR
    Execution Timed Out (16000 ms)

  • Custom User Avatar

    What edge test checking?I can't pass only this

  • Custom User Avatar

    solve it. It was wrong logic with last element in last range

  • Custom User Avatar

    Hi everyone.Random test fails:
    It should work for random inputs too expected:<...5,-4,-1,1,2,5,7,8,10[,11,]13> but was:<...5,-4,-1,1,2,5,7,8,10[-]13>
    Very strange.Looks like 12 duplicated, but why it absent in expected?

  • Custom User Avatar

    Java.
    WTF test.
    expected:<1 2[ 200] 4 4 6 6 7 7 18 27 7...> but was:<1 2[00 2] 4 4 6 6 7 7 18 27 7...>
    How in string can be ] or [ ??
    Its not fair

  • Custom User Avatar

    me to test11 timed out

  • Custom User Avatar

    I can't pass test11(timeout). I don't use recursion, I use only LongStream and parallelStream and 1 ArrayList.What problem?

  • Custom User Avatar

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