Borderou de evaluare (job #3302208)
| Utilizator | Data | 4 iulie 2025 20:37:10 | |
|---|---|---|---|
| Problema | Peluza Nord | Status | done |
| Runda | Arhiva de probleme | Compilator | rs | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
error[E0384]: cannot assign to immutable argument `n`
--> main.rs:8:9
|
4 | fn sum_of_digits(n: u64) -> u64 {
| - help: consider making this binding mutable: `mut n`
...
8 | n /= 10;
| ^^^^^^^ cannot assign to immutable argument
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0384`.
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
