YOLXVXDPVUCEIHBQFRO2I6A6EUB7WWLE26STYF576MCTRQ3IB7MQC
TYIMCQZ4CP2JSZVNXULIFZOMTENG3NDCUSH2XJQBJQVF3UPNYS7AC
Y6LR3BWYWC2E3HAB45T5VFBUCWJLRTWIVYOETYUHLBA3UDSGKB2AC
OKVKOTZI6ITJYYUFWLOMITPMXPWO56TF2VEVNLKHJHAGM7TNHCDQC
QT4MDJ4BERH7KCQV4OEZPVVAKJ5KBG77YN42FVCWXWB5MUXFQ2JQC
const path = "../data/day23/input2.txt";
const path = "../data/day23/input.txt";
hallway: [hallway_length]?Amphipod,
hallway: [hallway_length]?Amphipod = .{null} ** hallway_length,
\\ #.#.#.#.#\\ \\ #.#.#.#.#\\
\\ #.#.#.#.#\\
\\ #.#.#.#.# \\ #.#.#.#.#
\\ #.#.#.#.#
var ret: State = undefined;
var ret = State{ .rooms = undefined }; ret.rooms[0][1] = .D; ret.rooms[1][1] = .C; ret.rooms[2][1] = .B; ret.rooms[3][1] = .A; ret.rooms[0][2] = .D; ret.rooms[1][2] = .B; ret.rooms[2][2] = .A; ret.rooms[3][2] = .C;
var ret = State{ .rooms = undefined };
ret.rooms[0][1] = .D;
ret.rooms[1][1] = .C;
ret.rooms[2][1] = .B;
ret.rooms[3][1] = .A;
ret.rooms[0][2] = .D;
ret.rooms[1][2] = .B;
ret.rooms[2][2] = .A;
ret.rooms[3][2] = .C;
if (line == 2 or line == 3 or line == 4 or line == 5) {
if (line == 2 or line == 3) {
if (line == 2) counter += siderooms * 2;
##############...........####D#D#B#A### #D#C#B#A# #D#B#A#C# #B#C#A#C# #########
#############
#...........#
###D#D#B#A###
#D#C#B#A#
#D#B#A#C#
#B#C#A#C#
#########