Делаю 15 Задачу

This commit is contained in:
AZEN-SGG 2024-10-20 20:55:11 +03:00
parent 3f5c6299fc
commit 4c36e1638a
3 changed files with 62 additions and 18 deletions

View file

@ -2,9 +2,15 @@
#define REPLACE_LOCAL_MIN
#include <math.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#define exp 1.e-6
int replaceLocalMin(double * numbers);
int findAndReplaceLocalMin(double * numbers);
double min(double * numbers);
void findLocalMinimum(double * numbers, unsigned length, unsigned *start_end_minimum_index);
bool isEqual(double first, double second);
#endif // REPLACE_LOCAL_MIN