#include #include #include using namespace std; string s; string t; int array[4]; int t_cost=0; int tfix=0; int min_cost; int slenght; int tlenght; int getCst(char a); int sub_cost(int pos_t, int pos_s, int temp); int main() { ifstream fin("input.txt"); assert(fin); // corretto da Romeo Rizzi per vedere come si comporta getline(fin,s); getline(fin,t); for(int i=0; i<4; i++) fin >> array[i]; fin.close(); slenght = s.length(); tlenght = t.length(); for(int i=0; i