Algorithms_in_C  1.0.0
Set of algorithms implemented in C.
sol1.c File Reference

Problem 26 solution More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
Include dependency graph for sol1.c:

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.
 

Detailed Description

Problem 26 solution

Author
Krishna Vedala