#include using namespace std; char a[101][101],v[51],poz[51][3]; int main() { ifstream in("cuvinte.in"); ofstream out("cuvinte.out"); int n,m,p,j,gasit=0,nrapar=0,i,linie,coloana,l,c,po; in>>n>>m>>p; for (i=1;i<=p;i++) in>>v[i]; for (i=1;i<=n;i++) { for(j=1;j<=m;j++) { in>>a[i][j]; //out<