Update backtracking/magic_sequence.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Jxtopher 2021-07-15 12:13:21 +02:00 committed by GitHub
parent 07ab251e5f
commit 9ac4902940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
/* /*
* @brief [Magic sequence](https://www.csplib.org/Problems/prob019/) implementation * @brief [Magic sequence](https://www.csplib.org/Problems/prob019/) implementation
* *
* @details Solve the magic sequence problem with a backtraking * @details Solve the magic sequence problem with backtracking
* *
* "A magic sequence of length $n$ is a sequence of integers $x_0 * "A magic sequence of length $n$ is a sequence of integers $x_0
* \ldots x_{n-1}$ between $0$ and $n-1$, such that for all $i$ * \ldots x_{n-1}$ between $0$ and $n-1$, such that for all $i$