#include <stdio.h>#include <string.h> int main() { int i,j,t,len,count=0,flag; char str[10001],str_new[10001],test[100]; char *p=str_new; fgets(str,10001,stdin); for(i=strlen(str)-1;i>=0;i--) { ...