Borderou de evaluare (job #3309375)

Utilizator TarceaIonutTarcea Tudor Ionut TarceaIonut Data 3 septembrie 2025 21:58:06
Problema Aiacupalindroame Status done
Runda Arhiva de probleme Compilator rs | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: error[E0433]: failed to resolve: use of undeclared crate or module `rand` --> main.rs:2:5 | 2 | use rand::{seq::index, Rng}; | ^^^^ use of undeclared crate or module `rand` error[E0432]: unresolved import `rand` --> main.rs:2:5 | 2 | use rand::{seq::index, Rng}; | ^^^^ use of undeclared crate or module `rand` warning: unused import: `fs::write` --> main.rs:1:29 | 1 | use std::{char, fmt::Write, fs::write}; | ^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default error[E0433]: failed to resolve: use of undeclared crate or module `rand` --> main.rs:215:17 | 215 | let mut r = rand::rng(); | ^^^^ use of undeclared crate or module `rand` error: aborting due to 3 previous errors; 1 warning emitted Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. Non zero exit status: 1

Ceva nu functioneaza?