Please somebody give me good links to learn fft. Thanks.
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
Please somebody give me good links to learn fft. Thanks.
Hi! I am unable to find why my code is giving memory limit exceeded? Please can someone help......? my code: 12828787
Hi! I was trying to learn Edmond's Blossom algorithm.I learned something from wikipedia and other source but i didn't find c++ implementation of it.Please provide me link where i can understand it's implementation properly. Thanks.
I was trying to solve fake tournament problem on spoj but i was unable to come up with any solution. Can anyone give me hint.Thanks.
problem link: here
Can anyone help ? why i am getting wrong answer ? please give me test cases where my code is giving wrong answer.... "Thanks in advance".
I was trying to solve Distinct Substrings on spoj.I know it can be solved using Suffix Array But I think it can also be solved using Trie......here is my solution which is getting SIGSEGV (don't know why).Please tell me where i am wrong.
what i did: for string ABABABB taking substring of it : ABABABB BABABB ABABB BABB ABB BB B putting it into Trie one by one.Whenever new character is inserted count is increased by one. Each node has 26 child.
Can anybody tell me why i am getting SIGSEGV. Thanks in Advance... :)
I was trying to solve D-query here problem on spoj.I searched for the solution and found one blog here and solution here.I got accepted.But the problem is that when i am sorting queries using qsort function it's giving tle.
when i am using this with sort function it's fine
bool cmp(node x, node y) { if(x.x/BLOCK != y.x/BLOCK) { return x.x/BLOCK < y.x/BLOCK; } return x.y < y.y; }
but when i am using this with qsort it's giving tle
int inline cmp(const void *xx,const void *yy) { nod *x = (nod *) xx; nod *y = (nod *) yy; if(x->x!=y->x) return (x->x>y->x)?1:-1; return (x->y>y->y)?1:(x->yy)?-1:0; }
my code is here
Please any one give me answer why is this happening....thanks in advance
I was trying to solve COUNT(spoj problem).I am able to solve it using 3D DP but it will give segmentation fault because of the constraints.Can anyone help?
I was trying to solve this problem . I even searched for solution but was unable to understand .Can any one explain how to solve it.
Activities — SPOJ . I was trying to solve this problem using dp + binary search but got tle. Can anyone give me idea to solve it.
I am unable to find where my code is going wrong.First i calculated LCS of string and it's reverse than printed ans=length of string — LCS.
Can anyone tell me where i am wrong . my code is : here
Name |
---|