-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCORRER
More file actions
21 lines (17 loc) · 712 Bytes
/
CORRER
File metadata and controls
21 lines (17 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
EJ1
gcc -Wall -Werror -Wextra -pedantic -std=c99 -c counter.c
gcc -Wall -Werror -Wextra -pedantic -std=c99 -o counter *.o main.c
./counter input/balanced.in
./counter input/onlyopen.in
./counter input/moreopen.in
EJ 2
gcc -Wall -Werror -Wextra -pedantic -std=c99 -c list.c array_helpers.c
gcc -Wall -Werror -Wextra -pedantic -std=c99 -o average *.o main.c
./average input/all-negative-100.in
./average input/all-positive-100.in
./average input/example-sorted.in
./average input/empty.in
./average input/example-unsorted.in
gcc -Wall -Werror -Wextra -pedantic -std=c99 -g -c list.c array_helpers.c
gcc -Wall -Werror -Wextra -pedantic -std=c99 -g -o average *.o main.c
gdb ./average input/all-negative-100.in