mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
0a8c1d3f91
commit
a589829314
@ -73,7 +73,7 @@ bool filtering(const sequence_t& s, unsigned int depth) {
|
|||||||
/**
|
/**
|
||||||
* @brief Solve the Magic Sequence problem
|
* @brief Solve the Magic Sequence problem
|
||||||
* @param s a magic sequence
|
* @param s a magic sequence
|
||||||
* @param ret list of valid magic sequences
|
* @param ret list of the valid magic sequences
|
||||||
* @param depth depth in the tree
|
* @param depth depth in the tree
|
||||||
*/
|
*/
|
||||||
void solve(sequence_t* s, std::list<sequence_t>* ret, unsigned int depth = 0) {
|
void solve(sequence_t* s, std::list<sequence_t>* ret, unsigned int depth = 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user