Borderou de evaluare (job #3365870)

Utilizator TheJanitorTheJanitor TheJanitor Data 27 septembrie 2026 03:08:09
Problema CMMDC Status done
Runda Arhiva de probleme Compilator rs | Vezi sursa
Scor 100

Raport evaluator

Compilare: warning: unnecessary parentheses around `if` condition --> main.rs:20:8 | 20 | if (m < n) { | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 20 - if (m < n) { 20 + if m < n { | warning: unnecessary parentheses around `while` condition --> main.rs:25:11 | 25 | while (n != 0) { | ^ ^ | help: remove these parentheses | 25 - while (n != 0) { 25 + while n != 0 { | warning: value assigned to `temp` is never read --> main.rs:19:13 | 19 | 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
10ms311kbOKAY!10
20ms311kbOKAY!10
30ms311kbOKAY!10
40ms311kbOKAY!10
50ms311kbOKAY!10
60ms311kbOKAY!10
70ms311kbOKAY!10
80ms311kbOKAY!10
90ms311kbOKAY!10
100ms311kbOKAY!10
Punctaj total100

Ceva nu functioneaza?