17 lines
284 B
C
17 lines
284 B
C
#ifndef _JPP_L1_Z1_MOD_H
|
|
#define _JPP_L1_Z1_MOD_H
|
|
|
|
#include <stdint.h>
|
|
|
|
uint64_t factorial(uint64_t n);
|
|
|
|
uint64_t gcd(uint64_t a, uint64_t b);
|
|
|
|
typedef struct {
|
|
int64_t n;
|
|
int64_t m;
|
|
} Result;
|
|
|
|
Result *diophantine(int64_t a, int64_t b, int64_t c);
|
|
|
|
#endif // _JPP_L1_Z1_MOD_H
|