File: example.c

package info (click to toggle)
libelfin 0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 668 kB
  • sloc: cpp: 4,883; makefile: 189; python: 139; sh: 129; ansic: 10
file content (11 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
int fib(int x) 
{
        if (x <= 1)
                return x;
        return fib(x - 1) + fib(x - 2);
}

int main(int argc, char **argv) 
{
        return fib(10);
}