jpp/zad5/include/mod.h
2024-03-22 11:54:51 +01:00

19 lines
327 B
C

#ifndef _JPP_L1_Z5_MOD_H
#define _JPP_L1_Z5_MOD_H
#include <stdbool.h>
#include <stdint.h>
unsigned int factorial(unsigned int n);
unsigned int gcd(unsigned int a, unsigned int b);
typedef struct {
bool resultExists;
int n;
int m;
} Result;
Result diophantine(int a, int b, int c);
#endif // _JPP_L1_Z5_MOD_H