Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
advent-of-code-20
main
Top Level Namespace
AdventOfCode
BitMasks
BoardingPass
Console
Ferry
Seat
Haversack
Contains
Instruction
MemoryGame
Navigation
Position
Passport
Result
Shuttle
Tickets
Rule
Ticket
TobogganMap
XMAS
Generated using Crystal 1.14.0
2024-11-26 07:33:59 UTC
class
AdventOfCode::
Ferry
AdventOfCode::Ferry
Reference
Object
Defined in:
crystal/11.cr
Constructors
.new
(input : String)
Instance Method Summary
#print_seats
#seating_one
(iterations =
nil
)
#seating_two
(iterations =
nil
)
#seats_filled
Constructor Detail
def self.
new
(input : String)
#
[
View source
]
Instance Method Detail
def
print_seats
#
[
View source
]
def
seating_one
(iterations =
nil
)
#
[
View source
]
def
seating_two
(iterations =
nil
)
#
[
View source
]
def
seats_filled
#
[
View source
]