From 6784ff932bc2868469ca64703e092aa34207dd59 Mon Sep 17 00:00:00 2001 From: AthaSSiN Date: Wed, 23 Oct 2019 18:08:03 +0530 Subject: [PATCH 1/2] Added soln for 00233 --- Practice/Daily Coding Problem/00233/Soln.cpp | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Practice/Daily Coding Problem/00233/Soln.cpp diff --git a/Practice/Daily Coding Problem/00233/Soln.cpp b/Practice/Daily Coding Problem/00233/Soln.cpp new file mode 100644 index 0000000..ae23f0c --- /dev/null +++ b/Practice/Daily Coding Problem/00233/Soln.cpp @@ -0,0 +1,24 @@ +#include + +using namespace std; + +typedef long long ll; + +int main() +{ + ll n; + cin>>n; + ll a=1, b=1; + int temp; + for(int i=1; i Date: Wed, 23 Oct 2019 18:22:48 +0530 Subject: [PATCH 2/2] Update Soln.cpp --- Practice/Daily Coding Problem/00233/Soln.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Practice/Daily Coding Problem/00233/Soln.cpp b/Practice/Daily Coding Problem/00233/Soln.cpp index ae23f0c..062e697 100644 --- a/Practice/Daily Coding Problem/00233/Soln.cpp +++ b/Practice/Daily Coding Problem/00233/Soln.cpp @@ -4,12 +4,9 @@ using namespace std; typedef long long ll; -int main() -{ - ll n; - cin>>n; +ll fib(ll n){ ll a=1, b=1; - int temp; + ll temp; for(int i=1; i>n; + cout<