why this recursive code only prints one answer?

后端 未结 0 1784
长情又很酷
长情又很酷 2020-11-28 13:55

I made this backtracking recursive code.

this code shows every 4x4 array filled with 1, 2, 3, 4 but no duplication in every one row and line.

but this prints o

相关标签:
回答
  • 消灭零回复
提交回复
热议问题