#include #include #define PRIME 37 int inverse[PRIME]; /* Předpočítaná inversní čísla */ int n; int **a; /* 0\dots $n-1$ matice, $n$ pravá strana, $n+1$ řešení */ void read_data(void) { int i,j; printf("How many clocks? "); scanf("%d",&n); a=malloc(n*sizeof(int*)); /* Alokuj pole ukazatelů */ for(i=0;i=0;i--) { /* Zpětný průchod, všechny řádky */ int sum=a[i][n]; for(j=i+1;j