Borderou de evaluare (job #3127606)

Utilizator alexpanaAlexandru Pana alexpana Data 7 mai 2023 16:50:22
Problema Cpal Status done
Runda Arhiva Monthly Compilator rs | Vezi sursa
Scor 0

Raport evaluator

Compilare: warning: unnecessary parentheses around `if` condition --> main.rs:17:12 | 17 | if (v.len() < 9) { | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 17 - if (v.len() < 9) { 17 + if v.len() < 9 { | warning: unused `Result` that must be used --> main.rs:20:13 | 20 | writeln!(fout, "{}", solution(&v)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_must_use)]` on by default = note: this `Result` may be an `Err` variant, which should be handled = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) warning: variable `nonNull` should have a snake case name --> main.rs:30:13 | 30 | let mut nonNull = 0; | ^^^^^^^ help: convert the identifier to snake case: `non_null` | = note: `#[warn(non_snake_case)]` on by default warning: 3 warnings emitted
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms311kbIncorect0
Punctaj total0

Ceva nu functioneaza?