Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- string int_array_to_string(int int_array[], int from, int to)
- {
- string czesci = "";
- for (; from < to; from++)
- {
- czesci += to_string(int_array[from]);
- }
- return czesci;
- }
- int main()
- {
- string mystring = "";
- string mystring2 = "";
- unsigned long long temporary = 0, temporary2 = 0;
- unsigned long long numbersum = 0, numbersum2 = 0;
- unsigned long long number = 0, number2 = 0;
- string nums = "68392245982177412487648925492942692376861288906113304862385719584726118520844027602867175692789379917555";
- string charset = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM";
- string calystring = "";
- string dodwochznakow = "";
- int tab[6];
- int y = 0;
- int xx = 0;
- for(int z = 0; z < 52; z++)
- {
- for(int r = 0; r < 52; r++)
- {
- for(int w = 0; w < 52; w++)
- {
- for(int u = 0; u < 52; u++)
- {
- for(int v = 0; v < 52; v++)
- {
- for(int h = 0; h < 52; h++)
- {
- calystring += charset[z];
- calystring += charset[r];
- calystring += charset[w];
- calystring += charset[u];
- calystring += charset[v];
- calystring += charset[h];
- for(int j = 0; j < 6; j++)
- {
- int x = 0;
- for(int i = 0; i < 52; i++)
- {
- if(calystring[j] == charset[i])
- {
- x = i;
- // cout << x << endl;
- break;
- }
- }
- y = x * 2;
- dodwochznakow = nums.substr(y, 2);
- // cout << dodwochznakow << " ";
- x = atoi(dodwochznakow.c_str());
- tab[j] = x;
- tab[j] *= xx;
- xx += x + 1;
- for(int l = 0; l < 6; l++)
- {
- if(l != j) tab[l] += x;
- // cout << l << " " << tab[l] << endl;
- }
- }
- /* cout << tab[0] << endl;
- cout << tab[1] << endl;
- cout << tab[2] << endl;
- cout << tab[3] << endl;
- cout << tab[4] << endl;
- cout << tab[5] << endl;
- */
- mystring = int_array_to_string(tab,0,3);
- number = atoll(mystring.c_str());
- for (int q = 0; q < mystring.length(); q++)
- {
- numbersum = numbersum + number % 10;
- number = number / 10;
- }
- mystring2 = int_array_to_string(tab,3,6);
- number2 = atoll(mystring2.c_str());
- for (int q = 0; q < mystring2.length(); q++)
- {
- numbersum2 = numbersum2 + number2 % 10;
- number2 = number2 / 10;
- }
- if(numbersum + numbersum2 == 0x7D) cout << calystring << " " ;
- // cout << calystring << " " << numbersum << " " << numbersum2 << endl;
- calystring = "";
- xx = 0;
- temporary = 0;
- temporary2 = 0;
- number = 0;
- number2 = 0;
- numbersum = 0;
- numbersum2 = 0;
- mystring = "";
- mystring2 = "";
- }
- }
- }
- }
- }
- }
- }
- // username to "pR0-h4X";
- /*set y=0
- for /L %%j in (0,1,5) do (
- !%1.search! !%1.pass:~%%j,1!
- set /a y=!x!*2
- set x=nums:~!y!,2
- !%1.help!
- set /a %1.chars.%%j*=!x!
- for /L %%l in (0,1,5) do (
- if not "%%l"=="%%j" set /a %1.chars.%%l+=!x!
- ))
- */
Add Comment
Please, Sign In to add comment