diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2023-01-25 10:10:44 -0800 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2023-01-25 10:10:44 -0800 |
commit | 56a9680d122cbccac5a1a78a1f9ec41f341b92c2 (patch) | |
tree | 13a036d26da3ef1adbb6229cfeea18060db3a103 /main.cpp | |
download | coverage-main.tar.gz coverage-main.tar.bz2 coverage-main.zip |
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..aef800e --- /dev/null +++ b/main.cpp @@ -0,0 +1,11 @@ +#include <iostream> + +int f(int i) { + if (i <= 1) return 1; + return f(i - 1) + f(i - 2); +} + +int main() { + std::cout << "hello world!" << std::endl; + return 0; +} |