#include #include using namespace std; bool analyze(string test1,string test2, string n) ; int main() { int N = 0; string x,y,z; cin >>N; while(N!=0) { getline(cin,x); getline(cin,x); //cout << "nacteno "<< x << endl; getline(cin,y); //cout << "nacteno "<< y << endl; getline(cin,z); //cout << "nacteno "<< z << endl; string test1, test2; int counter =0; for(unsigned int i=0;i>N; } return 0; } bool analyze(string test1,string test2, string n) { string::size_type loc1, loc2; loc1=n.find(test1, 0); loc2=n.find(test2, loc1); if( loc2 != string::npos ) { //cout <