Last active
December 12, 2017 18:07
-
-
Save biscuitrainbow/17ea8be1ea81dfbb9a28410d92d29afc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
minimum(0) ->get_tsp(0) return 2 print 1--> ปล. 1 มาจาก 0 + 1 | |
minimum(2) ->get_tsp(2) return 1 print 3--> ปล. 3 มาจาก 2 + 1 | |
minimum(1) ->get_tsp(1) return 3 print 2--> ปล. 2 มาจาก 1 + 1 | |
minimum(3) ->get_tsp(3) return 999 print 4--> ปล. 1 มาจาก 3 + 1 | |
minimum(0) print 1 ปล. 1 มาจาก 0 + 1 | |
รวมกันเป็น 1-->3-->2-->4-->1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment