static void getOutputPart2(String inputFilePath) { var sequence = getInputSequencePart2(inputFilePath); KnotHash KnotHash = new KnotHash(256, sequence, showHalfwayElaboration); KnotHash.DoKnots(64); Console.WriteLine("Part 2 Output: {0}", KnotHash.GetResultPart2()); }
static void getOutputPart1(String inputFilePath, int lenghtList) { var sequence = getInputSequencePart1(inputFilePath); KnotHash knotHash = new KnotHash(lenghtList, sequence, showHalfwayElaboration); knotHash.DoKnots(); Console.WriteLine("Part 1 Output: {0}", knotHash.GetResultPart1()); }