18 lines
340 B
C
18 lines
340 B
C
#ifndef _JPP_L1_Z4_WRAPPER_H
|
|
#define _JPP_L1_Z4_WRAPPER_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
extern unsigned int gcd(unsigned int a, unsigned int b);
|
|
|
|
extern unsigned int factorial(unsigned int n);
|
|
|
|
typedef struct {
|
|
bool resultExists;
|
|
int n;
|
|
int m;
|
|
} Result;
|
|
|
|
extern Result diophantine(int a, int b, int c);
|
|
|
|
#endif // _JPP_L1_Z4_WRAPPER_H
|