#include<bits/stdc++.h> using namespace std; string comp_distance(string &str1,string &str2){ str1.insert(0,1,'#'); str2.insert(0,1,'#'); int len1=str1.size(); int len2=str2.size(); vector<vector<int> > dp(len1,vector<int>(len2,0)); for(int i=0...