Ad
  • Default User Avatar

    Ah, yep, working now. Great job, thanks!

  • Default User Avatar

    Unfortunately your solution is wrong (hence the "Error: execution of an external program failed" ie your program) but the testing function was misplaced so it didn't count the failed tests and didn't print something.
    Sorry for the inconvenience.
    I re-edited the Nim translation. Your solution will get something like that:

    Log
    h: 3.0 bounce: 0.66 window: 1.5
    
    Exp: 3
    got: 5
    
    etc...
    
    

    Don't forget to reset the page and review your code. Cheers.

  • Default User Avatar

    This isn't currently solvable in Nim. Tests pass, but the process always exits with code 1 and no error message:

    Error: execution of an external program failed: '/workspace/tests '