semi-complete semantic
This commit is contained in:
13
src/test.cm
Normal file
13
src/test.cm
Normal file
@@ -0,0 +1,13 @@
|
||||
int fib(int n) {
|
||||
if (n <= 0) {
|
||||
return 1;
|
||||
} else {
|
||||
return fib(n * fib(n - 1));
|
||||
}
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
int x;
|
||||
x = fib(input());
|
||||
output(x);
|
||||
}
|
||||
Reference in New Issue
Block a user