Last active
January 30, 2019 02:37
-
-
Save Tschrock/046a89551890322389b8b880ae49f1a6 to your computer and use it in GitHub Desktop.
ConwaySort.c From http://pastebin.com/LP5sxLyx
This file contains hidden or 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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| /** | |
| * ConwaySort: | |
| * sorts an array by ignoring it and then | |
| * printing out a new, sorted array with its | |
| * own "Alternative Values." | |
| * | |
| * If the new array does not appear sorted, | |
| * you have been manipulated by MSM | |
| */ | |
| // The array to be sorted | |
| int arr[] = {6, 8, 3, 9, 5, 4, 1, 7, 0, 2}; | |
| int main(int argc, char **argv) { | |
| printf ("15, 16, 17, 18, 19, 20\n"); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment