summaryrefslogtreecommitdiff
path: root/graphs/Makefile
diff options
context:
space:
mode:
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