btw if u know how to solve this share it :D
finally i get AC e7l :d lol
and ur code also get AC
your mistake was as i expected !... when you try to find the path ..
1-you must increment number of add or del at the end of each case , i mean after display the index .
2-in the insertion case ...
Search found 4 matches
- Fri Dec 04, 2009 10:40 am
- Forum: Volume 1 (100-199)
- Topic: 164 - String Computer
- Replies: 120
- Views: 22799
- Fri Dec 04, 2009 9:26 am
- Forum: Volume 1 (100-199)
- Topic: 164 - String Computer
- Replies: 120
- Views: 22799
Re: problem 164 .. why WA !! ???
: D yup , because i was using my previous implementation of the Edit Distance Algorithm (copy and paste ! ):d
btw i had tested ur code ..
try to test your program with the following test case , i think it give "out of range" exception ! ..
input
wrrr awwsa
output form uvakit ...
btw i had tested ur code ..
try to test your program with the following test case , i think it give "out of range" exception ! ..
input
wrrr awwsa
output form uvakit ...
- Fri Dec 04, 2009 12:28 am
- Forum: Volume 1 (100-199)
- Topic: 164 - String Computer
- Replies: 120
- Views: 22799
Re: problem 164 .. why WA !! ???
@5olio
it's a global forum ,don't be Local :P
@Mans
why you use this large size in the array?
int table[1000][1000];
char instruction[1000][1000];
and i also get wrong answer :D :D
: D yup , because i was using my previous implementation of the Edit Distance Algorithm (copy and paste ...
it's a global forum ,don't be Local :P
@Mans
why you use this large size in the array?
int table[1000][1000];
char instruction[1000][1000];
and i also get wrong answer :D :D
: D yup , because i was using my previous implementation of the Edit Distance Algorithm (copy and paste ...
- Wed Dec 02, 2009 6:53 am
- Forum: Volume 1 (100-199)
- Topic: 164 - String Computer
- Replies: 120
- Views: 22799
problem 164 .. why WA !! ???
hello all
i had solve string computer problem several times in uva .. but i get WA :(
and i cann't know why my code is not acceptable !! ..
i wonder if anybody can help me with this code ! .. or give me some test cases to test my code ?:)
#include <iostream>
#include <string>
#include <vector ...
i had solve string computer problem several times in uva .. but i get WA :(
and i cann't know why my code is not acceptable !! ..
i wonder if anybody can help me with this code ! .. or give me some test cases to test my code ?:)
#include <iostream>
#include <string>
#include <vector ...