diff --git a/README.rst b/README.rst index 04a3ae18..38250fa2 100644 --- a/README.rst +++ b/README.rst @@ -88,7 +88,7 @@ Olivia's Project Euler Solutions | | GraalPy 23.1+ |br| | | |CodeQL| |br| | | | Browser [#]_ | | |PythonLint| | +------------+----------------------------+--------+-------------------+ -| Rust | 1.69+ |br| | 28 | |Rust| |br| | +| Rust | 1.69+ |br| | 30 | |Rust| |br| | | | Browser [#]_ | | |Rs-Cov| |br| | | | | | |RustClippy| | +------------+----------------------------+--------+-------------------+ diff --git a/docs/index.rst b/docs/index.rst index 1f91bed4..a270aefa 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -116,11 +116,11 @@ Problems Solved +-----------+------------+------------+------------+------------+------------+------------+------------+ |:prob:`20` |:c-d:`0020` |:cp-d:`0020`|:cs-d:`0020`|:ja-d:`0020`|:js-d:`0020`|:py-d:`0020`|:rs-d:`0020`| +-----------+------------+------------+------------+------------+------------+------------+------------+ -|:prob:`21` | | | | | |:py-d:`0021`| | +|:prob:`21` | | | | | |:py-d:`0021`|:rs-d:`0021`| +-----------+------------+------------+------------+------------+------------+------------+------------+ |:prob:`22` |:c-d:`0022` |:cp-d:`0022`|:cs-d:`0022`|:ja-d:`0022`|:js-d:`0022`|:py-d:`0022`|:rs-d:`0022`| +-----------+------------+------------+------------+------------+------------+------------+------------+ -|:prob:`23` | | | | |:js-d:`0023`|:py-d:`0023`| | +|:prob:`23` | | | | |:js-d:`0023`|:py-d:`0023`|:rs-d:`0023`| +-----------+------------+------------+------------+------------+------------+------------+------------+ |:prob:`24` | | | | | |:py-d:`0024`|:rs-d:`0024`| +-----------+------------+------------+------------+------------+------------+------------+------------+ diff --git a/rust/README.rst b/rust/README.rst index 05677959..ef041342 100644 --- a/rust/README.rst +++ b/rust/README.rst @@ -77,7 +77,9 @@ Problems Solved - ☒ `18 <./src/p0018.rs>`__ - ☒ `19 <./src/p0019.rs>`__ - ☒ `20 <./src/p0020.rs>`__ +- ☒ `21 <./src/p0021.rs>`__ - ☒ `22 <./src/p0022.rs>`__ +- ☒ `23 <./src/p0023.rs>`__ - ☒ `24 <./src/p0024.rs>`__ - ☒ `27 <./src/p0027.rs>`__ - ☒ `34 <./src/p0034.rs>`__ diff --git a/rust/src/include/problems.rs b/rust/src/include/problems.rs index f11828d9..7f22840c 100644 --- a/rust/src/include/problems.rs +++ b/rust/src/include/problems.rs @@ -40,7 +40,9 @@ pub fn get_problem<'b>(n: usize) -> Option> { 18 => Some(( &18, p0018, false)), 19 => Some(( &19, p0019, false)), 20 => Some(( &20, p0020, false)), + 21 => Some(( &21, p0021, false)), 22 => Some(( &22, p0022, false)), + 23 => Some(( &23, p0023, false)), 24 => Some(( &24, p0024, false)), 27 => Some(( &27, p0027, false)), 34 => Some(( &34, p0034, false)), diff --git a/rust/src/main.rs b/rust/src/main.rs index f7db81e2..6a821b56 100644 --- a/rust/src/main.rs +++ b/rust/src/main.rs @@ -60,13 +60,11 @@ fn main() { } #[cfg(test)] -seq!(N in 01..=20 { +seq!(N in 01..=24 { #[rstest] #( #[case::problem_~N(N)] )* -#[case::problem_22(22)] -#[case::problem_24(24)] #[case::problem_27(27)] #[case::problem_34(34)] #[case::problem_69(69)]