First task is done

This commit is contained in:
AZEN-SGG 2025-03-23 18:47:53 +03:00
parent 02b8132a94
commit 2cf18a1ff3
48 changed files with 857 additions and 1217 deletions

View file

@ -1,30 +0,0 @@
#include "init_f.h"
#include <stdlib.h>
#define MAX(n, m) (n < m ? m : n)
double f1(int n, int m, int i, int j)
{
return MAX(n, m) - MAX(i, j) + 1;
}
double f2(int n, int m, int i, int j)
{
(void)n;
(void)m;
return MAX(i, j);
}
double f3(int n, int m, int i, int j)
{
(void)n;
(void)m;
return abs(i - j);
}
double f4(int n, int m, int i, int j)
{
(void)n;
(void)m;
return 1./(i+j-1);
}