Title |
User |
Message |
Date Posted |
Re: help ! |
magicalsoup |
then how do a reduce my memory then? |
Feb 13, 2018 - 4:14:55 am UTC |
Re: help ! |
jargon |
The memory limit exists for a reason. We will not bump it without extremely good reason to do so, as in my comment from a year ago. |
Feb 12, 2018 - 11:43:19 pm UTC |
help ! |
magicalsoup3 |
i'm keeping getting mle on my test cases, can someone bump it up? plz |
Feb 12, 2018 - 7:56:53 pm UTC |
Re: Helpppppppppppppppppppppp |
jargon |
Your program is far too slow. You should also look up the definition of a prime number. Incidentally, adding more p's to your title doesn't make your question more likely to be answered. |
Dec 28, 2017 - 9:29:58 pm UTC |
Helpppppppppppppppppppppp |
vyom |
Whats wrong with my code. I tried it so many times. |
Dec 27, 2017 - 6:13:15 pm UTC |
Re: Time limit |
jargon |
Trial division is not fast enough to solve this problem. You'll need to use a different approach; you may wish to read the comments below for some hints. |
Mar 19, 2017 - 5:08:34 am UTC |
Time limit |
asdflkjh |
I made a java program that does this but when i submitted it i got a TLE for the last 2 ones. I'm using trial division up to half of the number |
Mar 18, 2017 - 11:13:40 pm UTC |
Re: RE |
Chinadoll |
Thank you very much! |
Jan 16, 2017 - 6:23:49 pm UTC |
Re: RE |
jargon |
You're simply using too much memory. You'll need to try a different approach. However, I've noticed that the memory limit was actually too strict to be solved in Python, which uses references instead... |
Jan 15, 2017 - 6:25:32 pm UTC |
RE |
Chinadoll |
May I know why my code is RE for test cases 4 & 5? |
Jan 15, 2017 - 6:02:58 pm UTC |