#include #include #include using namespace std; ifstream in ("date.in"); int main() { char *p,s[1000], a[1000][100],sep[]=" ", v[]="0123456789"; bool ok = true; int nr=0,i,nc=0,ind=0; in.getline (s,1000); for (i=1;s[i];i++) { if (strchr(v,s[i])) ind=1; } p=strtok(s,sep); while (p!=NULL) { for (i=1;i<=nr;i++) { if (strcmp (a[i], p)==0) break; } nc++; if (i>nr) { nr++; strcpy (a[nr],p); } else ok = false; p=strtok (NULL, sep); } cout<