0_0_22998041_17773.cpp: In function 'int main()': 0_0_22998041_17773.cpp:85:41: error: 'nt_permutation' was not declared in this scope } while (nt_permutation(pos+1, pos + n)); ^