#include #include int check(char *str,int s,int e){ int w,i; w=(e-s+1)/2; for(i=0;ij+1;k--){ if(check(str,k,n-1)){ c++; } } } } } } printf("%ld\n",c); return 0; }