diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-11-13 19:00:06 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-11-13 19:00:06 +0100 |
commit | 13eab863735725f9a02cd4ae0b1c25725cc27569 (patch) | |
tree | 20be81c90e02f3a5dee54392435bb7baf8e7b571 /01-algorithmic_toolbox/01-intro/05-fibonacci_huge | |
download | coursera-13eab863735725f9a02cd4ae0b1c25725cc27569.zip coursera-13eab863735725f9a02cd4ae0b1c25725cc27569.tar.gz |
Algorithms : add 01-algorithmic_toolbox 01-intro
Diffstat (limited to '01-algorithmic_toolbox/01-intro/05-fibonacci_huge')
3 files changed, 14 insertions, 0 deletions
diff --git a/01-algorithmic_toolbox/01-intro/05-fibonacci_huge/fibonacci_huge.cpp b/01-algorithmic_toolbox/01-intro/05-fibonacci_huge/fibonacci_huge.cpp new file mode 100644 index 0000000..db0c074 --- /dev/null +++ b/01-algorithmic_toolbox/01-intro/05-fibonacci_huge/fibonacci_huge.cpp @@ -0,0 +1,12 @@ +#include <iostream> + +long long get_fibonaccihuge(long long n, long long m) { + //write your code here + return 0; +} + +int main() { + long long n, m; + std::cin >> n >> m; + std::cout << get_fibonaccihuge(n, m) << '\n'; +} diff --git a/01-algorithmic_toolbox/01-intro/05-fibonacci_huge/tests/01 b/01-algorithmic_toolbox/01-intro/05-fibonacci_huge/tests/01 new file mode 100644 index 0000000..6f185a6 --- /dev/null +++ b/01-algorithmic_toolbox/01-intro/05-fibonacci_huge/tests/01 @@ -0,0 +1 @@ +281621358815590 30524 diff --git a/01-algorithmic_toolbox/01-intro/05-fibonacci_huge/tests/01.a b/01-algorithmic_toolbox/01-intro/05-fibonacci_huge/tests/01.a new file mode 100644 index 0000000..ebe3a24 --- /dev/null +++ b/01-algorithmic_toolbox/01-intro/05-fibonacci_huge/tests/01.a @@ -0,0 +1 @@ +11963 |