about summary refs log tree commit diff
path: root/Day7.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Day7.cs')
-rw-r--r--Day7.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Day7.cs b/Day7.cs
index 9391bdb..af66d03 100644
--- a/Day7.cs
+++ b/Day7.cs
@@ -12,8 +12,7 @@ namespace aoc2019
         private readonly IntCodeVM[] Amplifiers = new IntCodeVM[5];
         public Day7()
         {
-            var input = Input.First().Split(',').Select(long.Parse);
-            for (var i = 0; i < 5; i++) Amplifiers[i] = new IntCodeVM(input);
+            for (var i = 0; i < 5; i++) Amplifiers[i] = new IntCodeVM(Input.First());
         }