Function async_get_sample_input

Source
pub async fn async_get_sample_input(
    day: u32,
    part: u32,
    year: i32,
) -> Option<(String, String)>
Expand description

Retrieve the example input and answer for the specified puzzle.

This is provided on a best-effort basis; not all puzzles have example inputs, and some puzzles that do have example inputs have example inputs that are difficult to determine programmatically.