fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. const long long MOD=1e9+7;
  4. int Fib(int n){
  5. if(n<=1) return n;
  6. return Fib(n-1)+Fib(n-2);
  7. }
  8. signed main(){
  9. cout << Fib(36);
  10. }
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
Success #stdin #stdout 0.05s 5332KB
stdin
Standard input is empty
stdout
14930352