{"code":"sinhhv","name":"Sinh hoán vị","description":"Sinh các hoán vị của các số tự nhiên từ $1$ đến $n$.\r\n\r\n**Yêu cầu:** Cho $n$ hãy in tất cả các hoán vị của $n$ số tự nhiên đầu tiên theo thứ tự từ điển.\r\n\r\n#### Input\r\n- Số nguyên dương $n (n \\leq 9)$.\r\n\r\n#### Output \r\n- Tất cả  các hoán vị của $n$ số tự nhiên đầu tiên theo thứ tự từ điển.\r\n  \r\n#### Example\r\n!!! question \"Test 1\"\r\n    ???+ \"Input\"\r\n        ```sample\r\n        3 \r\n        ```\r\n    ???+ success \"Output\"\r\n        ```sample\r\n        123\r\n        132\r\n        213\r\n        231\r\n        312\r\n        321\r\n        ```","points":100.0,"partial":true,"time_limit":1.0,"memory_limit":1000000,"short_circuit":false,"allowed_languages":[3,4,34,36,37,5,6,11,12,14,28,2,38,39,9,18,17,29,23,27,35,25,26,10,7,19,32,1,8,15,16,24,20,33,13,41,21,40],"is_public":true,"is_manually_managed":false,"permissions":{"can_edit":false}}