jpp/zad1/include/mod.h

18 lines
284 B
C
Raw Normal View History

2024-03-08 12:01:33 +01:00
#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