Sha256: 4309b855d4b1f540b4d8ad6c5a071cea09c8f08563e5f0864ab0d299f9b69df0
Contents?: true
Size: 452 Bytes
Versions: 11
Compression:
Stored size: 452 Bytes
Contents
#ifndef PALINDROME_PRODUCTS_H #define PALINDROME_PRODUCTS_H #define MAXERR 100 struct factors { int factor_a; int factor_b; struct factors *next; }; typedef struct factors factor_t; struct product { int smallest; int largest; factor_t *factors_sm; factor_t *factors_lg; char error[MAXERR]; }; typedef struct product product_t; product_t *get_palindrome_product(int from, int to); void free_product(product_t * p); #endif
Version data entries
11 entries across 11 versions & 1 rubygems