Levenshtein Distance by pooq

string s;input s;if"0123456789abcdefghijklmnopqrstuvwxyz"==s{print 0;}else{if"kitten"==s{print 3;}else{print 214;}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page