Borderou de evaluare (job #3365868)

Utilizator TheJanitorTheJanitor TheJanitor Data 27 septembrie 2026 03:00:33
Problema CMMDC Status done
Runda Arhiva de probleme Compilator rs | Vezi sursa
Scor 50

Raport evaluator

Compilare: warning: unnecessary parentheses around `if` condition --> main.rs:19:8 | 19 | if (m < n) { | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 19 - if (m < n) { 19 + if m < n { | warning: unnecessary parentheses around `while` condition --> main.rs:24:11 | 24 | while (n != 0) { | ^ ^ | help: remove these parentheses | 24 - while (n != 0) { 24 + while n != 0 { | warning: value assigned to `temp` is never read --> main.rs:18:13 | 18 | let mut temp: i32 = 0; | ^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` on by default warning: 3 warnings emitted
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms311kbWrong Answer.0
20ms311kbOKAY!10
30ms311kbOKAY!10
40ms311kbWrong Answer.0
50ms311kbOKAY!10
60ms311kbWrong Answer.0
70ms311kbOKAY!10
80ms311kbWrong Answer.0
90ms311kbWrong Answer.0
100ms311kbOKAY!10
Punctaj total50

Ceva nu functioneaza?