#include #include #include using namespace std; struct cod { char ch; char simbol[6]; }x[27]; struct cuvinte { char cuv_morse[100000*5]; }v_cuv[1000]; int main() { ifstream f("input.txt"); ofstream g("output.txt"); int i,j,N,nr,nrmax=0; char s[100000]; for(i=1;i<=26;i++) { f>>x[i].ch; f.get(); f.get(x[i].simbol,5); } f>>N; for(i=1;i<=N;i++) { f>>s; int n=strlen(s); for(j=0;jnrmax) nrmax=nr; } g<