find the connecting path -凯发k8网页登录
solution stats
problem comments
-
6 comments
syntax error at y_correct. remove spaces between '=' and '['
new test suite has been added.
yes.. and that is wrong either (dimension mismatch). next, your question statement is also ambiguous. 4's in the second test suite can be connected in multiple ways, dont know what you are asking.
starting from the top you should travel to bottom. repeating no. displays vertical path and you should think about only horizontal missing places.
forget the logic. your test suite 2 is still broken
this problem needs to have its description improved. it is not clear why some path must prefered over another like on test case #2. why the fours must cross at the borders when the sevens didn't? can we only add one 1 per row? and what's the priority of paths?
solution comments
problem recent solvers
suggested problems
-
1873 solvers
-
963 solvers
-
8030 solvers
-
571 solvers
-
150 solvers
problem tags
community treasure hunt
find the treasures in matlab central and discover how the community can help you!
start hunting!