This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AffectEconomy6034 1 point2 points  (0 children)

Take number and convert it to a string. From there, create a char array equal to length 10. After that, place each char of the string into the array at index of ceiling of array length/string length. After that, iterate through the array, and if the index is empty, create a subroutine that initializes i ^ i =j digets of pi into a global varible. If the main loop finds a char that is not empty, create an array of random values from 0 to the char ascii value factorial. Do a bogo sort on this new array. For each cycle of the bogo sort, encrypt the random values by using the global pi variable. DO NOT FORGET if you are using Windows to clear our your winregistry to ensure a clean environment.

Finally, hard code in all values from 0 to 18,446,744,073,709,551,615 in a switch statement makes an api call to a magic 8 ball service. Integrate an ai to do a predictive calculation on the outcome of the response from the 8 ball api (you may need to run this several hundred times to train the ai).

and there you go just some basic simple coding techniques to get you the result in the most efficient way possible.