Title |
User |
Message |
Date Posted |
... |
girishr2004 |
|
Dec 19, 2015 - 9:25:00 pm UTC |
Re: Just confirm my submission |
wgma00 |
I guess your idea to compress the sieve with a set is smart. Unfortunately this won't work for this problem since you're still creating an awfully large amount of integers when you are executing your ... |
Nov 04, 2015 - 6:29:48 pm UTC |
Just confirm my submission |
competitivecoder |
I am getting runtime error in the last two test cases but I don't really care about that.Would any of the admin confirm correctness of my algorithm for first three test cases.I think I just had blinds... |
Nov 04, 2015 - 12:31:27 pm UTC |
Re: MLE in Java |
sigkill |
It is possible to consider a much smaller set of numbers than the entire 1,000,000,000 range. There's a certain optimization to be made to your sieve that might make this mathematically clear. |
Dec 23, 2014 - 3:44:25 am UTC |
MLE in Java |
katyalr |
I tried using Sieve of Eratosthenes in Java but got an MLE for the last test case. On your wiki it says MLE is usually caused by a large array, which is what I used. How else could I approach this. Th... |
Dec 23, 2014 - 3:13:57 am UTC |
Re: Error in program |
Butane |
N and M are at most 1,000,000,000. Any large test cases around that size will require way too much memory to store and there's no way you'll ever be able to do it like that. This problem is worth 15 p... |
Oct 18, 2014 - 2:03:52 am UTC |
Error in program |
paulkr |
I tried using Sieve of Eratosthenes but I cannot seem to find the error in this program... I understand it's harder in python but does anyone know what exactly is causing the errors? Thanks :) |
Oct 17, 2014 - 5:38:21 pm UTC |
Re: Runtime Error |
bbi5291 |
Try resubmitting. You should be able to see what kind of runtime error it is now. |
Jul 23, 2014 - 3:23:28 am UTC |
Runtime Error |
LOLWHATOMGBBQ |
I'm getting runtime error. Does this mean that I timed out? What does it mean? (It would be helpful if I could see the error message) |
Jul 23, 2014 - 2:38:56 am UTC |
Re: ordinal expected |
MuhammadKhattak |
Couldn't you also use Int64? and why would you need anything that large anyways? |
Nov 21, 2013 - 1:07:07 am UTC |