Borderou de evaluare (job #2655572)

Utilizator freak93Adrian Budau freak93 Data 4 octombrie 2020 18:57:03
Problema Sir9 Status done
Runda Arhiva de probleme Compilator rs | Vezi sursa
Scor 0

Raport evaluator

Compilare: warning: unreachable statement --> main.rs:20:5 | 19 | return Ok(()); | ------------- any code following this expression is unreachable 20 | let mut best = 0; | ^^^^^^^^^^^^^^^^^ unreachable statement | = note: `#[warn(unreachable_code)]` on by default warning: unused variable: `output` --> main.rs:9:9 | 9 | let mut output = BufWriter::new(File::create("sir9.out")?); | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `string` --> main.rs:11:9 | 11 | let string = input | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` warning: variable does not need to be mutable --> main.rs:9:9 | 9 | let mut output = BufWriter::new(File::create("sir9.out")?); | ----^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: 4 warnings emitted
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms786kbIncorect0
211ms1048kbIncorect0
313ms1441kbIncorect0
410ms917kbIncorect0
517ms1966kbIncorect0
69ms786kbIncorect0
713ms1441kbIncorect0
813ms1441kbIncorect0
917ms1966kbIncorect0
1018ms1966kbIncorect0
Punctaj total0

Ceva nu functioneaza?