18 lines
233 B
Plaintext
18 lines
233 B
Plaintext
[expected_return_code]
|
|
42
|
|
|
|
[code]
|
|
fn main() -> i32 {
|
|
let x = 5;
|
|
let y = 10;
|
|
|
|
if x > 0 {
|
|
if y < 5 {
|
|
return 1;
|
|
} else {
|
|
return 42;
|
|
}
|
|
} else {
|
|
return 2;
|
|
}
|
|
} |