#include #include #include #include char* compactString(char *src,int leng) { char *new_str = (char*)calloc(leng+1,sizeof(char)); int k=0; for(int i=0;i 0 ? +1 : 0; } int main() { char str[100][100]; int i =0; int j =0; char b ; while((b=getchar())!=EOF){ if(b=='\n'){ j=0; i++; } str[i][j]=b; j++; } for(int k=0;k