mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-26 14:24:05 -06:00
vault backup: 2022-08-05 14:17:57
This commit is contained in:
parent
5a511c1b1e
commit
87a1d8e96d
@ -54,7 +54,7 @@ int main(int argc, const char *argv[])
|
|||||||
```
|
```
|
||||||
|
|
||||||
routines can be scoped to just the source code file
|
routines can be scoped to just the source code file
|
||||||
- `statis int eleven(void`
|
- `static int eleven(void`
|
||||||
|
|
||||||
routines must be declared bfore being used
|
routines must be declared bfore being used
|
||||||
- `extern int eleven(void):`
|
- `extern int eleven(void):`
|
||||||
|
|||||||
@ -41,7 +41,7 @@ in the recirsive case, since all the elements before $p$ are smaller than it and
|
|||||||
def fib(n)
|
def fib(n)
|
||||||
if n <= 1
|
if n <= 1
|
||||||
return 1
|
return 1
|
||||||
return fib(n-1) + fib(n-2)
|
return fib(n-1) + fib(n-2)
|
||||||
```
|
```
|
||||||
|
|
||||||
line 1 -> always executed
|
line 1 -> always executed
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user