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