Example | x | y | Answer |
0 | {-1,-1,1} | {1,-1,0} | 1 |
1 | {-1,-1,1,2} | {1,-1,2,-1} | 2 |
2 | {-1,-2,3,3,2,1} | {-2,-1,1,2,3,3} | 8 |
3 | {1,5,10,5,-5,7,-9,-6,-3,0,8,8,1,-4,7,-3,10,9,-6} | {5,-6,-3,4,-2,-8,-7,2,7,4,2,0,-4,-8,7,5,-5,-2,-9} | 256 |
time-it.sh -- a shell script to time the three solutions timing-graph.jgr -- jgraph of the timings timing-graph.jpg -- jgraph of the timings, converted to JPG timing-graph.pdf -- jgraph of the timings, converted to PDF timings.txt -- the output of time-it.sh