I hereby claim:
- I am rosenbergm on github.
- I am rosenbergm (https://keybase.io/rosenbergm) on keybase.
- I have a public key ASBWBKTP0dUBDpeohaKuP34Tio-IAtqr5b88zycfCIeC9Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
mod solution; | |
use solution::Simulation; | |
fn main() { | |
let mut simulation = Simulation::new(); | |
let prg = simulation.new_city("Prague"); | |
let brn = simulation.new_city("Brno"); | |
let pls = simulation.new_city("Plzen"); | |
let hrk = simulation.new_city("Hradec Kralove"); |
E0: Plzen: 0 got off, 120 got on | |
E0: Brno: 0 got off, 60 got on | |
E0: Hradec Kralove: 0 got off, 40 got on | |
E71: Prague: 120 got off, 40 got on | |
E121: Prague: 60 got off, 0 got on | |
--- | |
E130: Prague: 0 got off, 40 got on | |
E130: Plzen: 0 got off, 10 got on | |
E192: Brno: 80 got off, 0 got on | |
E201: Prague: 0 got off, 0 got on |