Advertisement
wavicle

universe-age

Sep 1st, 2016
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {   cout << "Working...\n";
  6.    
  7.     for(int chain[27]={0}; chain[0] != 4; chain[26]++)
  8.     {   for(int a = 26; chain[a] == 10; a--)
  9.         {   chain[a] = 0;
  10.             chain[a - 1]++;
  11.         }
  12.     }
  13.    
  14.     cout << "Done.\n";
  15.    
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement