Borderou de evaluare (job #3312234)

Utilizator sad_carrotVisan Sebastian sad_carrot Data 27 septembrie 2025 10:31:19
Problema Omizi Status done
Runda Arhiva de probleme Compilator rs | Vezi sursa
Scor 0

Raport evaluator

Compilare: warning: unreachable statement --> main.rs:234:5 | 233 | panic!("Err"); | ------------- any code following this expression is unreachable 234 | input.read_line(&mut buf).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement | = note: `#[warn(unreachable_code)]` on by default warning: unused variable: `input` --> main.rs:231:13 | 231 | let mut input = BufReader::new(file); | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `buf` --> main.rs:232:13 | 232 | let mut buf: String = "".to_owned(); | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` warning: variable does not need to be mutable --> main.rs:231:9 | 231 | let mut input = BufReader::new(file); | ----^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> main.rs:232:9 | 232 | let mut buf: String = "".to_owned(); | ----^^^ | | | help: remove this `mut` warning: 5 warnings emitted
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms311kbNon zero exit status: 1010
20ms364kbNon zero exit status: 1010
30ms311kbNon zero exit status: 1010
40ms311kbNon zero exit status: 1010
50ms311kbNon zero exit status: 1010
60ms311kbNon zero exit status: 1010
70ms311kbNon zero exit status: 1010
80ms311kbNon zero exit status: 1010
90ms311kbNon zero exit status: 1010
100ms311kbNon zero exit status: 1010
Punctaj total0

Ceva nu functioneaza?