Ad
  • Default User Avatar

    For C#: How many test cases are there? If I don't do a sort at the end, I fail the random tests and pass test 1, but it ends there. If I put in a sort at the end I pass the random tests and test 1, but then it says it timed out (process took longer than 6000 microseconds). I am wondering if it is passing the tests and something else is wrong or if there are more tests. (If I comment out the sort after running the tests, it still times out, if I do a refresh it goes back to finishing but failing the random test.)

  • Default User Avatar

    only one pass through the data, good job

  • Default User Avatar

    This is similar to mine, and this is the only (other) one I found that actually uses only one pass through the data (max, sum, sort and variations thereof all do a pass)