mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
Set things up for the next release cycle.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#include <stdio.h>
|
||||
#include "debugbreak.h"
|
||||
|
||||
//
|
||||
// https://github.com/scottt/debugbreak
|
||||
//
|
||||
int fib(int n) {
|
||||
|
||||
int r;
|
||||
if (n == 0 || n == 1) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
r = fib(n-1) + fib(n-2);
|
||||
|
||||
if (r == 89) {
|
||||
debug_break();
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
||||
printf("%d\n", fib(15));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user