pub(crate) fn get_pdf_url_from_problem(num: String) -> String
Expand description

Returns the URL of a pdf for a certain problem number.

Arguments

  • num - A String containing the number of the problem. A String is used instead of an u16 so operations with its contents can be done easier.

Examples

// Get the URL of the pdf for the problem 462
let url: String = get_pdf_from_problem(String::from("462"));