this commit should be verified

This commit is contained in:
Shuo Feng 2025-05-12 21:27:33 -04:00
parent 07a88eacaa
commit 8e92e5a079
Signed by: sfeng
GPG key ID: 1E83AE6CD1C037B1

View file

@ -1,6 +1,11 @@
#include <iostream>
auto get_fib_of(int n) -> int {
return n < 2 ? 1 : get_fib_of(n - 1) + get_fib_of(n - 2);
}
auto main() -> int {
std::cout << "hello, world" << std::endl;
std::cout << "10th fib is: " << get_fib_of(10) << std::endl;
return 0;
}