Skip to content

1. N-th Fibonacci number

Points
25
Type
ConsoleIO
Read a number n (0 ≤ n ≤ 40). Print the n-th Fibonacci number, where F(0) = 0 and F(1) = 1.

Examples

InputOutput
0 0
1 1
10 55
20 hidden

Your code is saved locally until you submit a solution.

C#

Sign in to submit solutions and earn points.