mirror of
https://github.com/ada-dmitry/prog.l_ada.git
synced 2026-09-24 09:10:14 +00:00
global rename
This commit is contained in:
Executable
BIN
Binary file not shown.
@@ -1,4 +1,8 @@
|
|||||||
#include "head.h"
|
#include "head.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
Stack get(Stack *l, int n) {
|
Stack get(Stack *l, int n) {
|
||||||
if (n > len(l))
|
if (n > len(l))
|
||||||
|
|||||||
@@ -1,7 +1,3 @@
|
|||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
#define N 6
|
#define N 6
|
||||||
|
|
||||||
|
|||||||
+5
-1
@@ -1,4 +1,8 @@
|
|||||||
#include "head.h"
|
#include "head.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
srand(time(0));
|
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);
|
free(numbers);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Binary file not shown.
@@ -15,8 +15,6 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
n1 = add_tail(n1, "tail");
|
n1 = add_tail(n1, "tail");
|
||||||
|
|
||||||
printf("First error\n");
|
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < CO; i++)
|
for (i = 0; i < CO; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user