Title |
User |
Message |
Date Posted |
Re: Error? |
canyonblue77 |
After some testing... The ratio of rows to memory was exponential. 10 rows took around 5MB 15 rows took around 15MB while 20 took around 280MB |
Jul 28, 2015 - 3:21:14 am UTC |
Re: Error? |
sigkill |
As mentioned in another thread, this probably isn't solvable in Python with the current judge setup. The interpreter seems to eat too much memory.* I'm fairly sure your algorithm is fine, though. *I... |
Feb 05, 2015 - 7:24:56 am UTC |
Re: Python submission broken for this problem |
Butane |
but its not even possible that the small test cases are anywhere near the memory limit. If that was the case, most other problems would be unsolvable in Python. |
Feb 05, 2015 - 2:26:19 am UTC |
Re: Python submission broken for this problem |
FatalEagle |
Your Python solution on the Best Solutions page is already very close to the memory limit. The judge has probably changed since almost a year ago. There's also the chance that the memory limiter is br... |
Feb 05, 2015 - 2:23:53 am UTC |
Re: Python submission broken for this problem |
awaykened |
I don't think that's the case, as even trying to take in input results in a return error. Also, submissions that worked previously are also failing x.x |
Feb 05, 2015 - 12:57:13 am UTC |
Re: Python submission broken for this problem |
FatalEagle |
Most likely you are exceeding the 8MB memory limit. That's a limitation of solving problems in Python, so it would be a good reason to switch to C++ (at least for IOI problems). |
Feb 05, 2015 - 12:49:38 am UTC |
Error? |
sas5580 |
My code works perfectly fine, but I get RE (status=1) for every single test case. Is there something wrong with the compiler? |
Feb 05, 2015 - 12:02:18 am UTC |
Python submission broken for this problem |
Butane |
|
Feb 04, 2015 - 11:26:37 pm UTC |
Re: Why 30 ? |
MichaelBroughton2 |
Oops , my mistake. Thanks for the speedy response! |
Dec 26, 2013 - 5:01:26 am UTC |
Re: Why 30 ? |
Alex |
Read the problem statement carefully. The diagram at the top is the real representation of the triangle. Each step can go either diagon... |
Dec 26, 2013 - 4:52:49 am UTC |