Ad
  • Custom User Avatar

    This is a cool solution, however ineffective. It's a sort operation, vs a simple mathematical one which obviously will be slower. Never the less, it's awesome! :)

  • Custom User Avatar

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

  • Custom User Avatar

    Hi folks.

    So I have a nice and simple solution which appears to be working fine, according to the test cases.

    But when I say, Attempt! it just throws this into my face:

    Process exited prematurely with a SIGSEGV signal.

    I'm attempting it in C++. And, like I said, it passes all basic tests.

  • Custom User Avatar

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

  • Custom User Avatar

    Hi.

    Does anyone have a clue, how I could debug exceptions?

    It just says this:

    Fixed__Tests
    ✘ Caught unknown exception
    Random_maxRot
    Log


    Locally, I compiled the code, it runs fine even with big numbers.

    Thanks!