mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 12:50:32 +01:00
Fix lack of executable for matlab.
This commit is contained in:
1
2017/day-06/input.txt
Normal file
1
2017/day-06/input.txt
Normal file
@@ -0,0 +1 @@
|
||||
11 11 13 7 0 15 5 5 4 4 1 1 7 1 15 11
|
||||
7
2017/day-06/solve.m
Executable file
7
2017/day-06/solve.m
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env octave-cli
|
||||
data = input('', 's');
|
||||
data = sscanf(data, '%d');
|
||||
|
||||
[cycles,state] = solution(data);
|
||||
cycles
|
||||
[cycles,~] = solution(state)
|
||||
Reference in New Issue
Block a user