Register
|
Login
HOME
PROBLEMSET
ROADMAP
COMPETITION
TOPIC
RANKING
GUIDE
MASHUP
ABOUT
CONTACT
Problem
Submit
Results
Fibonacci - MarisaOJ: Marisa Online Judge
Fibonacci
Time limit: 1000 ms
Memory limit: 256 MB
Print the $n^{th}$ Fibonacci number. Fibonacci is defined as follows: $F_0 = 0$ $F_1 = 1$ $F_n = F_{n - 1} + F_{n - 2}$ ### Input - An integer $n$. ### Output - $F_n$ ### Constraints - $1 \le n \le 80$. ### Example Input: ``` 4 ``` Output: ``` 3 ```
Loop
Loop
Even numbers
Factorial
Star Triangle
Folding paper
Fraction
Divisors
Complex Exponentiation
Prime number
Digit Sum
Fibonacci
Read number till eternity
Extremal
Reverse
Mushroom exchanging
Trailing zeros
Decimal to binary
Binary to decimal
Division
Solution
Topic
Basic
Rating
800
Solution (1)
Solution