Advertisement
Guest User

Day 9

a guest
Dec 9th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Julia 0.32 KB | None | 0 0
  1. include("../Utils/Intcode.jl")
  2. using .Intcode, BenchmarkTools
  3.  
  4. const taskInput = open(f -> read(f, String), "input.txt")
  5.  
  6. const program1 = newProgram(taskInput, [1])
  7. const program2 = newProgram(taskInput, [2])
  8.  
  9. runProgram(program1)
  10. part1 = program1.output[end]
  11.  
  12. runProgram(program2)
  13. part2 = program2.output[end]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement