global rename

This commit is contained in:
ada-dmitry
2023-05-10 21:55:33 +03:00
parent 350c719381
commit 0cf222ed89
21 changed files with 9 additions and 7 deletions
BIN
View File
Binary file not shown.
+4
View File
@@ -1,4 +1,8 @@
#include "head.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
Stack get(Stack *l, int n) {
if (n > len(l))
-4
View File
@@ -1,7 +1,3 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#define N 6
+5 -1
View File
@@ -1,4 +1,8 @@
#include "head.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
int main(int argc, char *argv[]) {
srand(time(0));
@@ -54,7 +58,7 @@ int main(int argc, char *argv[]) {
}
}
printf("result: %lF\n", get(numbers, 0).x);
printf("result: %lF\n", get(numbers, -1).x);
free(numbers);
return 0;