Đếm số Fibo

PDF

Submit solution

Points: 10.00 (partial)
Time limit: 1.0s
Memory limit: 256M
Input: stdin
Output: stdout

Problem source:
NTH
Problem types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Yêu cầu:

Cho hai số nguyên dương a,b đếm số lượng số fibonacci trong phạm vi [a,b]

Dữ liệu:

Hai số nguyên dương ~a≤b≤10^6~

Kết quả:

Một số nguyên là kết quả tìm được

Input:

4 10

Output:

2

Comments

Please read the guidelines before commenting.


There are no comments at the moment.