//analyser les premiers membres de familles infinies #include #include #include #include #include #include #include #include #define factl 100000 using namespace std; // cleans a set of families of numbers (on the standard input) // and sends the result on the standard output // simplifies the repetitions: d{d} => {d} // explicits the first and last digits // drops the copies using sint=long unsigned int; // std::vector >::size_type; int main(int argc, char *argv[]) {string p; vector res; sint i,l1=0,l2=0; while(cin>>p) {l1++; for(i=0;i