#include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef unsigned int nat; void rec(map &dict, string str, nat i, nat pos) { if(str[i] < 'z') { di str[pos]++; } else { if(str) } } void generate() { map tal; char o = 'a'-1; string str = {o,o,o,o,'a'}; for(nat i = 1; i <= 83681; ++i) { if(str[4] < 'z') { ++str[4]; tal[str] = i; } else { if(str[3] < 'z') str[4] = str[3]+1; // Kolla z? else break; if(str[3] < 'z') { ++str[3]; } else { .... } } } } int main() { return 0; }