Function aoc_driver::post_answer[][src]

pub fn post_answer(
    session: &str,
    year: u16,
    day: u8,
    part: u8,
    answer: &str
) -> Result<bool, u32>
Expand description

Post an answer to the AoC website. Requires session string from browser. Returns true if answer was correct or has already been given