mirror of
https://github.com/paradizelost/AdventOfCode2020.git
synced 2024-11-25 02:44:45 -06:00
833 lines
12 KiB
PowerShell
833 lines
12 KiB
PowerShell
$list=@("BFBBBFBLRR",
|
|
"BBFFFFFLRR",
|
|
"BFBFBFFRLR",
|
|
"FBBBBFFLLL",
|
|
"BFBBBBFRRL",
|
|
"FFBFFBFRLR",
|
|
"FFFBFBBRRL",
|
|
"FBFBBFBLRL",
|
|
"FBFFFBFLLR",
|
|
"FFBBFBBLLL",
|
|
"FBFBBFFRLL",
|
|
"FFBFFBFLRL",
|
|
"FFBFBFFRRR",
|
|
"BFFFFBBLRR",
|
|
"FFBFFBFRRL",
|
|
"FFBFBFFLRL",
|
|
"BBFFFFFRLL",
|
|
"FFFBFBBRRR",
|
|
"FBFBFBBLLR",
|
|
"FBFBFBFLLR",
|
|
"BFBFBFFRLL",
|
|
"FFFBFFBRLL",
|
|
"BBFFFBFLRL",
|
|
"BFBFBFBLLR",
|
|
"FFFFBBBRLL",
|
|
"FFBBBFFLRL",
|
|
"FBFFBFBRLR",
|
|
"FFBFBBFLLR",
|
|
"FBFBFFFRRL",
|
|
"BFBBFBBLRR",
|
|
"BFBFFFBRRR",
|
|
"BFFBBBFRLL",
|
|
"FFBFFFFRRL",
|
|
"FFFFBBFLRL",
|
|
"BBFFFBBRLR",
|
|
"BFFBFBBRRL",
|
|
"BFFFFFBLRR",
|
|
"FBFFFFBLLL",
|
|
"FFBFBBFLLL",
|
|
"BFBBBFBRRR",
|
|
"BBFFFBFLLR",
|
|
"FBBBFFFRRL",
|
|
"BFBBBBBLLL",
|
|
"BFBFFFBRLR",
|
|
"FFBBFBBLRR",
|
|
"FBFBFFFLLL",
|
|
"BFBBBFBRLL",
|
|
"BFFBFBFRRL",
|
|
"BFBFBFFRRR",
|
|
"FBBFFFFLLR",
|
|
"FFBBBFFLLL",
|
|
"BFFBFBBRRR",
|
|
"FFBFBFBRRR",
|
|
"FFFBBFFRRR",
|
|
"FFBBFBFRLR",
|
|
"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",
|
|
"BFBBBFBLLL",
|
|
"FBFFFBBRLR",
|
|
"FFBBFBBRLL",
|
|
"FBFFFBBLRR",
|
|
"FBFBBFFLLR",
|
|
"FFFFBBFRRL",
|
|
"FBBFFFFRRR",
|
|
"BFFBFFFLLR",
|
|
"FFFBBFFLRL",
|
|
"FFFBBBFLLR",
|
|
"BFFFBFFLRL",
|
|
"FBBBBFBLLR",
|
|
"FFBFBFBLRR",
|
|
"BFBBFBFLLL",
|
|
"BFFBBFFRLR",
|
|
"BFBBBBFLLR",
|
|
"FFFFBBFLRR",
|
|
"BFBFBBFLRL",
|
|
"BBFFFBFLRR",
|
|
"BFBBFBBRLR",
|
|
"FBFBFFBLRL",
|
|
"FFFBBFFLRR",
|
|
"FFBBFFFRRR",
|
|
"BFFBBBBLLR",
|
|
"BBFFFFBLRL",
|
|
"FBFFBBFLLL",
|
|
"FFFFBBFLLR",
|
|
"FBBBFBFRRL",
|
|
"FFBFFBBLRL",
|
|
"BFBBFFBLLR",
|
|
"BFBFFFFLLR",
|
|
"BFBBBBBRLR",
|
|
"BFBBFBFRLL",
|
|
"BFFBFFFLLL",
|
|
"FFBFFFFLLL",
|
|
"BFBFFBFLLL",
|
|
"FBBFFFFLRL",
|
|
"BFBBBBBLLR",
|
|
"BFFBBFBLRR",
|
|
"BFFFBFBLRL",
|
|
"FBBBFFFRLL",
|
|
"FBBFBFBRRL",
|
|
"FBFFFFFRRL")
|
|
#$list=@("FBFFFFFRRL")
|
|
$rows=@(0..127)
|
|
$seatnums=@(0..7)
|
|
$seats=@{}
|
|
foreach($seat in $list){
|
|
$myrows=$rows
|
|
$myseatnums=$seatnums
|
|
$rowinfo=$seat.Substring(0,8)
|
|
$seatinfo=$seat.Substring(7,3)
|
|
$columntouse=""
|
|
$rowtouse=""
|
|
foreach($letter in $rowinfo.ToCharArray()){
|
|
|
|
switch ($letter){
|
|
"F"{
|
|
if($myrows.count -gt 2){
|
|
$myrows = $myrows[0..$(($myrows.count /2)-1)]
|
|
} else {
|
|
$rowtouse = $myrows[0]
|
|
}
|
|
};
|
|
"B"{
|
|
if($myrows.count -gt 2){
|
|
$myrows = $myrows[$($myrows.count /2)..$myrows.count]
|
|
} else {
|
|
$rowtouse = $myrows[1]
|
|
}
|
|
};
|
|
default{};
|
|
}
|
|
}
|
|
|
|
foreach($letter in $seatinfo.ToCharArray()){
|
|
$seatinfo
|
|
switch ($letter){
|
|
"L"{
|
|
if($myseatnums.count -gt 2){
|
|
$myseatnums = $myseatnums[0..$(($myseatnums.count /2)-1)]
|
|
} else {
|
|
$columntouse = $myseatnums[0]
|
|
}
|
|
};
|
|
"R"{
|
|
if($myseatnums.count -gt 2){
|
|
$myseatnums = $myseatnums[$($myseatnums.count /2) .. $myseatnums.count];
|
|
write-host $columntouse
|
|
} else {
|
|
$columntouse = $myseatnums[1]
|
|
write-host $columntouse
|
|
}
|
|
}
|
|
}
|
|
$myseatnums.count
|
|
}
|
|
$seats.Add(
|
|
(($rowtouse*8)+$columntouse),@{
|
|
Seatinfo=$seat
|
|
Row=$rowtouse;
|
|
Column=$columntouse;
|
|
SeatID=($rowtouse*8)+$columntouse;
|
|
}
|
|
)
|
|
<#
|
|
write-host @"
|
|
Seat: $($seat)
|
|
Row: $($rowtouse)
|
|
Column: $($columntouse)
|
|
SeatID: $(($rowtouse*8)+$columntouse)
|
|
"@
|
|
#>
|
|
}
|
|
#$seats |