Here is the probelm statement
http://www.spoj.com/problems/JNEXT/
This probelm is a simple problem of finding next permutation. you can either use the function given by C++ mext_permutation or you ca implement your own next permutation algorithm. ( If you need information about next permutation algorithm go here
http://www.spoj.com/problems/JNEXT/
This probelm is a simple problem of finding next permutation. you can either use the function given by C++ mext_permutation or you ca implement your own next permutation algorithm. ( If you need information about next permutation algorithm go here
No comments:
Post a Comment