【例48.1】 斐波那契数列
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
输出斐波那契数列第项。,,,,,,,……
输入格式
一个正整数,表示第项。
输出格式
第项是多少。
样例
4
2
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
输出斐波那契数列第n项。0,1,1,2,3,5,8,13……
一个正整数n,表示第n项。
第n项是多少。
4
2
By signing up a 战码少年-战码青少年编程(专业信息学奥赛编程训练) universal account, you can submit code and join discussions in all online judging services provided by us.