• Custom User Avatar

    Description is contradictory, claims that n is both always even but also provides a prescribed return value for when n is odd. Python at least also tests for odd n which likely should be removed.

  • Custom User Avatar

    Approved

  • Custom User Avatar

    python new test framework is required. updated in this fork

  • Custom User Avatar

    fixed

  • Custom User Avatar

    Ruby error on submit:

    main.rb:48:in block in sol_goldbach_partitions': uninitialized constant Prime (NameError) from main.rb:47:in tap'
    from main.rb:47:in sol_goldbach_partitions' from main.rb:57:in block (3 levels) in '
    from main.rb:55:in times' from main.rb:55:in block (2 levels) in '
    from /runner/frameworks/ruby/cw-2.rb:55:in block in describe' from /runner/frameworks/ruby/cw-2.rb:46:in measure'
    from /runner/frameworks/ruby/cw-2.rb:51:in describe' from /runner/frameworks/ruby/cw-2.rb:202:in describe'
    from main.rb:54:in block in <main>' from /runner/frameworks/ruby/cw-2.rb:55:in block in describe'
    from /runner/frameworks/ruby/cw-2.rb:46:in measure' from /runner/frameworks/ruby/cw-2.rb:51:in describe'
    from /runner/frameworks/ruby/cw-2.rb:202:in describe' from main.rb:20:in '

  • Custom User Avatar

    Try to review and optimize your code

  • Custom User Avatar

    My code is correct as I test it on my local computer. But it takes too much time to run here and failed with an execution error. Maybe the problem is with my connection. Any ideas please?

  • Custom User Avatar

    Error fixed in test cases -- try to submit your solutions now.

  • Custom User Avatar

    I can't -- author is "too active" ;-)

  • Custom User Avatar

    Can you also approve the translations while at it :)?

  • Custom User Avatar

    It gives the same error to me. I don't think it's our fault. Blame the tests.

  • Custom User Avatar

    I falled in the same situations, but with test of 32000 correct!

  • Custom User Avatar

    made a list of prime values in python from 0 to n and checked if sum of two primes is equal to n and first value less than or equal to second value then converted them to string and appended values to partition list ... sampe tests are successful when submitting got the error 'NameError: name 'primes' is not defined' for large integers.......any help please

  • Custom User Avatar

    Random tests added to python.

  • Custom User Avatar

    Oh, also: I would put a few more high-numbered test cases, as currently only one test go to 32000, the rest being rather far from it.

  • Loading more items...