Ad
  • Custom User Avatar

    Here is the log of my code(3 times ran):

    Time: 3540ms Passed: 132 Failed: 0
    Test Results:
     Basic Tests
     It should works for basic tests. (32 of 32 Assertions)
    Completed in 70ms
     100 Random Tests --- Testing for correctness of solution
     It should works for random tests. (100 of 100 Assertions)
    Completed in 2881ms
     Happy Coding ^_^
     Log
    I'm waiting for your feedback, rank and vote.many thanks! ;-) 
    You have passed all of the tests! :)
    
    
    
    Time: 3430ms Passed: 132 Failed: 0
    Test Results:
     Basic Tests
     It should works for basic tests. (32 of 32 Assertions)
    Completed in 85ms
     100 Random Tests --- Testing for correctness of solution
     It should works for random tests. (100 of 100 Assertions)
    Completed in 2692ms
     Happy Coding ^_^
     Log
    I'm waiting for your feedback, rank and vote.many thanks! ;-) 
    You have passed all of the tests! :)
    
    
    Time: 5066ms Passed: 132 Failed: 0
    Test Results:
     Basic Tests
     It should works for basic tests. (32 of 32 Assertions)
    Completed in 70ms
     100 Random Tests --- Testing for correctness of solution
     It should works for random tests. (100 of 100 Assertions)
    Completed in 4389ms
     Happy Coding ^_^
     Log
    I'm waiting for your feedback, rank and vote.many thanks! ;-) 
    You have passed all of the tests! :)
    

    So, if your code got timeout, please check it about performance ;-)