summaryrefslogtreecommitdiff
path: root/graphs/Makefile
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-03-30 10:46:20 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-03-30 10:46:20 +0400
commit5b28380e3650dd030fd5f5cd2b95749535afd884 (patch)
treedfecd6e7ae1ff15f0573478cd4d7fd3d2c23b3bd /graphs/Makefile
parentfd2cc58ff2184887178e581fb979405e47d0ab81 (diff)
Добавил пятую задачу в графах
Diffstat (limited to 'graphs/Makefile')
-rw-r--r--graphs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphs/Makefile b/graphs/Makefile
index d20a34b..b61c5fb 100644
--- a/graphs/Makefile
+++ b/graphs/Makefile
@@ -33,8 +33,10 @@ test4: task4
task5:
$(COMPILE) -o task.out task5.cpp
test5: task5
- @printf "" | ./task.out
- @printf "Answer: \n"
+ @printf "6\n9\n1 2\n2 3\n3 5\n5 6\n1 4\n4 6\n1 3\n3 5\n5 6\n1 6" | ./task.out
+ @printf "Answer: 1 -> 4 -> 6\n"
+ @printf "3\n1\n1 2\n1 3" | ./task.out
+ @printf "Answer: none\n"
task6:
$(COMPILE) -o task.out task6.cpp