Problems with submitting final-20

When I push the run button everythings works well and I get this output:

Test case 1 passed!
Test case 2 passed!
Test case 3 passed!
Test case 4 passed!

You passed all test cases!

However when pushing the submit button I get this message (I tried it several times, removed print statements, tried it in different browsers but without success):

An error has occured on this page. You may be able to continue using it or you may need to refresh the page.

asked 04 Apr '12, 06:55

Derk%20Mus's gravatar image

Derk Mus
209247
accept rate: 0%


One Answer:

See how efficient is your solution. If it's very inefficient, it might be timing out on submit, because there is a limit on the run time of your program. We are sorry that the error message is not very informative at this time!

If you still have problems with submitting your solution after optimizing it, you can contact me on IRC or G+ and see if we can get to the root of the problem.

link

answered 04 Apr '12, 07:07

Gundega's gravatar image

Gundega ♦♦
44.2k70170315

You are right. Replacing the python .sort() method with something more efficient solved the problem.

(04 Apr '12, 13:38) Derk Mus Derk%20Mus's gravatar image
Your answer
Question text:

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×5,188
×685
×87

Asked: 04 Apr '12, 06:55

Seen: 264 times

Last updated: 04 Apr '12, 13:38