0_0_32727241_20205.cpp: In function 'int main(int, const char**)':
0_0_32727241_20205.cpp:18:49: error: 'next_permutation' was not declared in this scope
while(m--) next_permutation(number, number + n);
^
0_0_32727241_20205.cpp:18:49: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_32727241_20205.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2988:5: note: 'std::next_permutation'
next_permutation(_BidirectionalIterator __first,
^
|