|
Algorithms_in_C
1.0.0
Set of algorithms implemented in C.
|
Problem 26 solution More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>Macros | |
| #define | MAX_DENO 2000 |
| limit of unit fractions | |
| #define | MAX_LEN (MAX_DENO + 10) |
| length of resulting recurring fraction number | |
Functions | |
| int | compare (const void *a, const void *b) |
comparison function for use with internal qsort algorithm | |
| int | main (int argc, char *argv[]) |
| Main function. | |
Problem 26 solution