Search found 1 match

by scarstar
Sun Jul 21, 2002 8:54 pm
Forum: Volume 1 (100-199)
Topic: 164 - String Computer
Replies: 120
Views: 22971

help~164(string computer)

help~
I don't understand why WA.
I use a Levenshtein Distance(edit Distance) algorithims.
help~
[c]
#include <stdio.h>
#define m(x,y) (((x)<(y))?(x):(y))
int t[30][30];
char is[100][10];
main(){
int i,j,min,k;
char ss[21],ts[21];
while(scanf("%s%s",ss,ts)){
if(ss[0]=='#')
break;
t[0][0]=0 ...

Go to advanced search