Generation of Combinatorial Objects · Generating Permutations
Lesson 1
Programming problem.
Write a program that reads an integer \(1 \le n \le 7\) and prints all permutations of \([n]\).
This problem can only be submitted at Cogniterra.
Public sample 1
Public samples
Input
1
Expected output
1