#include #include #include #include #include #include #include #define basemax 50 #define sizek 25 // code cut output // explores the numberss in the input file // if they are longer than cut, they are transformed in s1(d^n)s2 // the result is sent to the output file using namespace std; using sint=long unsigned int; // std::vector >::size_type; ifstream lresu; int main(int argc, char *argv[]) {string p,exp,ms,prefms,s1,s2; long int i,j,k,l; sint cut; char ss; cut=atoi(argv[1]); while(cin>>p) {if(p.length()<=cut){cout<=0;i--)if(p[i]!=ss)break;else l++; for(j=k+1;j