summaryrefslogtreecommitdiff
path: root/bin-trees/Makefile
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2021-03-18 20:29:48 +0400
committerAndrew <saintruler@gmail.com>2021-03-18 20:29:48 +0400
commitd338d647b1227eefd71e8e7fcb8e8063d04a20af (patch)
tree3aa768b811c8e8b9dacb8d7232e82f04d5b5cadc /bin-trees/Makefile
parent84a9b5950b63ab1f664ff3bfce8da126439c7963 (diff)
Добавил 19 задачу в деревьях
Diffstat (limited to 'bin-trees/Makefile')
-rw-r--r--bin-trees/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin-trees/Makefile b/bin-trees/Makefile
index d4dffe5..4d62434 100644
--- a/bin-trees/Makefile
+++ b/bin-trees/Makefile
@@ -5,8 +5,8 @@ COMPILE=$(CXX) $(CFLAGS)
task17:
$(COMPILE) -o task.out task17.cpp
test17: task17
- @printf "\n" | ./task.out
- @printf "Answer: \n"
+ @printf "10\n4 5 3 7 8 6 9 1 2 0\n2\n" | ./task.out
+ @printf "Answer: 3\n"
task18:
$(COMPILE) -o task.out task18.cpp
@@ -17,14 +17,14 @@ test18: task18
task19:
$(COMPILE) -o task.out task19.cpp
test19: task19
- @printf "\n" | ./task.out
- @printf "Answer: \n"
+ @printf "10\n4 5 3 7 8 6 9 1 2 0\n" | ./task.out
+ @printf "Answer: 3.75\n"
task14:
$(COMPILE) -o task.out task14.cpp
test14: task14
- @printf "\n" | ./task.out
- @printf "Answer: \n"
+ @printf "10\n4 5 3 7 8 6 9 1 2 0\n2\n" | ./task.out
+ @printf "Answer: 12\n"
clean:
rm -f task.out *.zip