Skip to content

Instantly share code, notes, and snippets.

@saethlin
Created April 30, 2017 03:21
Show Gist options
  • Save saethlin/e126dffabd37e2ac08d1c8844a37e30f to your computer and use it in GitHub Desktop.
Save saethlin/e126dffabd37e2ac08d1c8844a37e30f to your computer and use it in GitHub Desktop.
use std::io::BufRead;
fn main() {
let file = std::fs::File::open("resources/solarccf.txt").unwrap();
let buf = std::io::BufReader::new(file);
let (rv_iter, quiet_iter, active_iter) = buf
.lines()
.skip(2)
.map(|l| l.unwrap().split_whitespace())
.unzip();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment