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

This commit is contained in:
AZEN-SGG 2024-11-01 07:05:41 +03:00
parent 4c36e1638a
commit 4e498f2819
8 changed files with 133 additions and 54 deletions

View file

@ -8,9 +8,13 @@
#define exp 1.e-6
int findAndReplaceLocalMin(double * numbers);
double min(double * numbers);
void findLocalMinimum(double * numbers, unsigned length, unsigned *start_end_minimum_index);
unsigned findLocalMin(double * num_array, int length, int * start_length_local_min);
void test_findLocalMin(void);
bool isEqual(double first, double second);
void replace(double * array, int length, double wherewith, int from, int len_replaceable);
void test_replace(void);
unsigned find_replace_local_min(double * array, int length);
double min(double * array, int length);
unsigned unbs(int number);
#endif // REPLACE_LOCAL_MIN