ckb-debugger 0.200.1

Standalone debugger for Nervos CKB
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "entry.h"

int fib(int n) {
    if (n == 0 || n == 1) {
        return n;
    } else {
        return fib(n-1) + fib(n-2);
    }
}

int main() {
    if (fib(5) != 5) {
        return 1;
    }
    return 0;
}