Clarifications

# When? Question Answer
1 1 week, 1 day ago C - Fibonacci All Pairs

How does the problem know when the input ends?

Your program must detect EOF... The way to do this depends on the programming language you use. Read the documentation of your programming language.