RE: Here's a simple programming problem for you to solve
April 27, 2016 at 12:53 am
(This post was last modified: April 27, 2016 at 12:55 am by Alex K.)
I'd still simulate a z digit number in an x-ary system, and the x different values for the digits correspond to the letters of the string S. In c++, I would write a small class with an increment operator which carries the 1 to the next digit when reaching x in one digit.
I do it for 250$/hr, and you get a free gourd!
I do it for 250$/hr, and you get a free gourd!
The fool hath said in his heart, There is a God. They are corrupt, they have done abominable works, there is none that doeth good.
Psalm 14, KJV revised edition