#include #include using namespace std; char s[101],a[51][101]; int main() { cin.getline(s,101); int k=0,i,j; char *p=strtok(s," "); while(p) { strcpy(a[k++],p); p=strtok(NULL," "); } for(i=0; i