11 lines
112 B
Plaintext
11 lines
112 B
Plaintext
main() {
|
|
syscall(60, factorial(5))
|
|
}
|
|
|
|
factorial(x) {
|
|
if x <= 1 {
|
|
return 1
|
|
}
|
|
|
|
return x * factorial(x - 1)
|
|
} |