Title |
User |
Message |
Date Posted |
Re: Hints? |
jungernaut165 |
Hi Jeff, thanks for input. Is my approach to use a BIT correct? Or am headed in the wrong direction for this problem? If it is correct to use BIT, then given that R can potentially be as large as 1... |
Apr 24, 2015 - 5:23:24 am UTC |
Re: Hints? |
jeffreyxiao |
You exceeded the memory limit. |
Apr 24, 2015 - 2:18:18 am UTC |
Hints? |
jungernaut165 |
Hi all, I tried using a binary indexed tree approach. For the fenwick tree, I create a list (using python) that is of size 10^8. I get RE on my solution, which works for the sample. Am I using the ... |
Apr 24, 2015 - 12:09:32 am UTC |
Re: Wrong test data? |
Alex |
endl appears to be causing the problem in your code. I think this is a judge/compiler issue. Use '\n' or printf for now. |
Sep 24, 2013 - 5:54:44 am UTC |
Wrong test data? |
zzh8829 |
For last two cases, I'm pretty sure my answers are correct. I checked with official data. |
Sep 24, 2013 - 3:36:13 am UTC |
Huge input data |
bbi5291 |
If you have trouble solving this problem in Pascal due to the large amount of input data, tell me. |
May 19, 2010 - 11:48:16 pm UTC |