fork download
  1. default = '1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm';
  2. extended = default + '~!@#$%^&*()_+`-={}[]:";\',./<>?';
  3.  
  4. dft = len(default)
  5. ext = len(extended)
  6.  
  7. def8, def12, def20 = dft**8, dft**12, dft**20;
  8. ext8, ext12, ext20 = ext**8, ext**12, ext**20;
  9.  
  10. print('Default: ', dft, '\n8: ', def8, '\n12:', def12, '\n20:', def20, '\n');
  11. print('Extended:', ext, '\n8: ', ext8, '\n12:', ext12, '\n20:', ext20, '\n');
  12.  
  13. print('8: ', len(str(ext8)) - len(str(def8)));
  14. print('12:', len(str(ext12)) - len(str(def12)));
  15. print('20:', len(str(ext20)) - len(str(def20)), '\n');
  16. print('8-20:', len(str(def20)) - len(str(def8)));
  17. print('8-20:', len(str(ext20)) - len(str(ext8)));
Success #stdin #stdout 0.03s 9984KB
stdin
Standard input is empty
stdout
Default:  62 
8:  218340105584896 
12: 3226266762397899821056 
20: 704423425546998022968330264616370176 

Extended: 92 
8:  5132188731375616 
12: 367666387654882241806336 
20: 1886933291627965536395870951737944702976 

8:  1
12: 2
20: 4 

8-20: 21
8-20: 24