Next number using the same digit in prolog

前端 未结 0 894
慢半拍i
慢半拍i 2020-11-29 14:57

How can I write an efficient procedural prolog program to find the next biggest number using the same digits?

For an example : Input : ?- next_num([1,2,3,4],N). Then

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