Sha256: 34ff3ec1a27cd0b9da1dee51477f36e5a83dad52734df673e1206606731c328f

Contents?: true

Size: 357 Bytes

Versions: 9

Compression:

Stored size: 357 Bytes

Contents

pub fn square_of_sum(n: usize) -> usize {
    unimplemented!("square of sum of 1...{}", n)
}

pub fn sum_of_squares(n: usize) -> usize {
    unimplemented!("sum of squares of 1...{}", n)
}

pub fn difference(n: usize) -> usize {
    unimplemented!(
        "difference between square of sum of 1...{n} and sum of squares of 1...{n}",
        n = n,
    )
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/rust/exercises/difference-of-squares/src/lib.rs
trackler-2.2.1.179 tracks/rust/exercises/difference-of-squares/src/lib.rs
trackler-2.2.1.178 tracks/rust/exercises/difference-of-squares/src/lib.rs
trackler-2.2.1.177 tracks/rust/exercises/difference-of-squares/src/lib.rs
trackler-2.2.1.176 tracks/rust/exercises/difference-of-squares/src/lib.rs
trackler-2.2.1.175 tracks/rust/exercises/difference-of-squares/src/lib.rs
trackler-2.2.1.174 tracks/rust/exercises/difference-of-squares/src/lib.rs
trackler-2.2.1.173 tracks/rust/exercises/difference-of-squares/src/lib.rs
trackler-2.2.1.172 tracks/rust/exercises/difference-of-squares/src/lib.rs