Ad
  • Custom User Avatar

    If you get a time out then you have not passed the whole random tests. Test passed means you passed some (or one) of them but not the whole bunch.

  • Custom User Avatar

    but I do pass the random tests.

    random tests

    some more randomized rectangles

    Test Passed

    STDERR

    execution Timed Out (12000 ms)

    what's wrong here ? does it make sense ?

  • Custom User Avatar

    Random tests generally represent the real difficulty (your code passing fixed tests in a reasonable amount of time doesn't guarantee it is efficient enough for the whole tests). If your receive time out and no failed test, it just means this: your code didn't return incorrect result but it times out at some time (it hasn't returned all the results it should have).

  • Custom User Avatar

    Is there everything all right with the test here.
    I am quite satisfied with the solution I've created here - I am able to pass all the tests in less than 1 second togheter with all difficult cases.
    Of course difficult cases takes the biggest part here:

    Completed in 689.78ms

    and then the random tests go in - the result says I've passed it too (it's green, it takes over 9sec) but the total result is failed anyway because of the time exceeded.
    no failed tests at all. Is there something I dont understand ? need help