Skip to content

kyx0r/N-pwr-R-permutation-lister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-pwr-R-permutation-lister

Lists all possible combinations using permutation n^r formula.

Writes the list to a file, and has a parser so search and mark the needed combination.

Currently onle one char per index supported, so you can list combinations using arr['A','B','C'] but not arr["AB", "CD"] it will probably give invalid result. I did not want to make it too complex, so that is why one one char per index is recommended.

Compiling the code:

I've left .exe file here for windows so you can just download it, but if you are not its user than, you will have to compile the code for your os.

How to compile:

  1. Git clone or download zip file and extract.

  2. Make sure you have g++/gcc toochain installed. Test by typing g++ --version into the terminal and see if it works. If not then, search for it on the internet.

  3. Cd into this repository's directory in terminal and type make

  4. Executable will be generated, you are awesome!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published