#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char *sp[1000]; char s[1000]; int i = 0; while(scanf("%s",s) != EOF) { int l = strlen(s); sp[i] = malloc(sizeof(char)*l); memcpy(sp[i], s, sizeof(char)*l); m...