Borderou de evaluare (job #3122099)
Utilizator | Data | 17 aprilie 2023 10:53:14 | |
---|---|---|---|
Problema | K Aparitii | Status | done |
Runda | Arhiva Monthly | Compilator | rs | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
warning: unused import: `std::ops::Add`
--> main.rs:5:5
|
5 | use std::ops::Add;
| ^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0277]: cannot multiply `{integer}` by `{float}`
--> main.rs:81:62
|
81 | let mut h = HashMap::<u32, u32>::with_capacity(10240 * 7 * 4.5);
| ^ no implementation for `{integer} * {float}`
|
= help: the trait `Mul<{float}>` is not implemented for `{integer}`
= help: the following other types implement trait `Mul<Rhs>`:
<&'a f32 as Mul<f32>>
<&'a f64 as Mul<f64>>
<&'a i128 as Mul<i128>>
<&'a i16 as Mul<i16>>
<&'a i32 as Mul<i32>>
<&'a i64 as Mul<i64>>
<&'a i8 as Mul<i8>>
<&'a isize as Mul<isize>>
and 49 others
error: aborting due to previous error; 1 warning emitted
For more information about this error, try `rustc --explain E0277`.
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !