mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-27 13:50:32 +01:00
Fix lack of executable for matlab.
This commit is contained in:
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