Merge pull request 'this commit should be verified' (#2) from feat/check-gpg into main
Reviewed-on: #2
This commit is contained in:
commit
4e3e334699
1 changed files with 5 additions and 0 deletions
5
main.cc
5
main.cc
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue