7 lines
No EOL
163 B
Text
7 lines
No EOL
163 B
Text
def main(field x) -> field {
|
|
return if x == 0 {
|
|
0
|
|
} else {
|
|
1 / x // executed even for x := 0, which leads to the execution failing
|
|
};
|
|
} |