isaacg1 / pyth

Pyth, an extremely concise language. Try it here:
https://pyth.herokuapp.com/
MIT License
263 stars 57 forks source link

Add .P<int><col> for nth permutation #167

Closed PurkkaKoodari closed 8 years ago

PurkkaKoodari commented 8 years ago

This makes .P<int><col> equivalent to @.p<col><int>, but without calculating n! - 1 unused permutations.