summaryrefslogtreecommitdiff
path: root/graphs/Makefile
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-03-30 12:31:28 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-03-30 12:31:28 +0400
commita78c434472b9e72ea479f672d6f85789dd19db2e (patch)
tree709b0f665193d3212ab29299515af225e1bbefd5 /graphs/Makefile
parent5b28380e3650dd030fd5f5cd2b95749535afd884 (diff)
Добавил шестую задачу в графах
Diffstat (limited to 'graphs/Makefile')
-rw-r--r--graphs/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphs/Makefile b/graphs/Makefile
index b61c5fb..8810093 100644
--- a/graphs/Makefile
+++ b/graphs/Makefile
@@ -41,8 +41,12 @@ test5: task5
task6:
$(COMPILE) -o task.out task6.cpp
test6: task6
- @printf "" | ./task.out
- @printf "Answer: \n"
+ @printf "5\n3\n1 3\n2 3\n4 5\n3" | ./task.out
+ @printf "Answer: 1, 2\n"
+ @printf "5\n3\n1 3\n2 3\n4 3\n3" | ./task.out
+ @printf "Answer: 1, 2, 4\n"
+ @printf "5\n3\n1 3\n2 3\n4 3\n5" | ./task.out
+ @printf "Answer: none\n"
clean:
rm -f task.out *.zip