Can build the first basic row

[?]
Jul 11, 2020, 7:30 PM
RQRFFUF6EN2RMBL5ITLF4HYJPGNMYXNTV4YNWH2BUCVZQE5KY2AQC

Dependencies

Change contents

  • edit in src/main.rs at line 37
    [10.509]
    [10.509]
    fn length(&self) -> u32 {
    self.length
    }
  • edit in src/main.rs at line 134
    [3.187][3.870:1005](),[3.1005][2.198:237]()
    //let mut leftover = 0;
    //let mut coverage = 0;
    //let mut plankcount = 0;
    //let mut rowlist: Vec<Vec<Plank>> = vec![];
    let row: Row = Default::default();
  • edit in src/main.rs at line 136
    [3.297][3.475:538]()
    //println!("First plank length: {}", PLANKMAX - leftover);
  • edit in src/main.rs at line 141
    [3.1297]
    [10.1277]
    /*
  • edit in src/main.rs at line 145
    [10.1355]
    [3.449]
    */
  • edit in src/main.rs at line 147
    [3.450]
    [3.1326]
    floor.add(build_row());
  • edit in src/main.rs at line 166
    [10.1857]
    [10.1857]
    // also increase the row coverage
    row.coverage += plankpart.length();
  • edit in src/main.rs at line 177
    [3.1497]
    [3.1497]
    //let mut leftover = 0;
    //let mut coverage = 0;
    //let mut plankcount = 0;
    //let mut rowlist: Vec<Vec<Plank>> = vec![];
    //println!("First plank length: {}", PLANKMAX - leftover);