#include <iostream> #include <string> #include <vector> using namespace std; int main() { string text,pattern; while(cin >> text >> pattern) { int n = text.size(), m = pattern.size(); vector<vector<int>> dp(n,vector(n,0)); b...