From the description "... double are formatted with no decimal" so there is no "direct" rounding, only the use of "format!" or "write!".
Updated the method signatures of initial solution in Rust from return type Vec<u32> to Vec<f64>
Vec<u32>
Vec<f64>
Approved, thanks
I updated the solution setup.
This is definitely an issue. As a workaround you can use the following template:
mod solution { pub use super::range_extraction; } pub fn range_extraction(a: &[i32]) -> String { // Your solution here }
Loading collection data...
From the description "... double are formatted with no decimal" so there is no "direct" rounding, only the use of "format!" or "write!".
Updated the method signatures of initial solution in Rust from return type
Vec<u32>
toVec<f64>
Updated the method signatures of initial solution in Rust from return type
Vec<u32>
toVec<f64>
Approved, thanks
I updated the solution setup.
This is definitely an issue. As a workaround you can use the following template: