File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+ cd " $( dirname " $0 " ) /.."
5
+
6
+ for f in resources/* .txt; do
7
+ name=$( basename " ${f% .txt} " )
8
+ scripts/dotify " $f " | neato -Tpdf -o " generated/$name .pdf"
9
+ done
Original file line number Diff line number Diff line change @@ -67,9 +67,7 @@ func main() {
67
67
}
68
68
fmt .Println ("Part 1:" , threeCliques (graph , "t" ))
69
69
70
- // Part 2 was solved by inspecting the output in GraphViz:
71
- //
72
- // scripts/dotify resources/input.txt | neato -Tpdf -o <path/to/output.pdf>
73
- //
74
- // The clique can be found at the very top.
70
+ // Part 2 was solved by inspecting the output in GraphViz (see the PDFs in
71
+ // `./generated`, as generated by `scripts/regenerate`). The clique can be
72
+ // found at the very top of `generated/input.pdf`.
75
73
}
You can’t perform that action at this time.
0 commit comments