Borderou de evaluare (job #2977661)

Utilizator AttylaxKucsvan Attila Attylax Data 12 februarie 2023 09:48:04
Problema CMMDC Status done
Runda Arhiva de probleme Compilator rs | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: error: 1 positional argument in format string, but no arguments were given --> main.rs:30:23 | 30 | writeln!(output, "{}", ).unwrap(); | ^^ error[E0425]: cannot find value `an` in this scope --> main.rs:29:29 | 29 | let result = if ab[0] > an[1] {gcd(ab[0], ab[1])} else {gcd(ab[1], ab[0])}; | ^^ help: a local variable with a similar name exists: `ab` error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0425`. Non zero exit status: 1

Ceva nu functioneaza?