当前位置:网站首页>The 15th youth informatics competition in Shushan District in 2019
The 15th youth informatics competition in Shushan District in 2019
2022-07-04 19:20:00 【Small Turing programming】
The first question is Sum up
【 Problem description 】
Fiboracci series , Also called golden section series . Because mathematician Leonardo · Fibonacci introduced, for example, rabbit breeding , It is also called “ Rabbit Series ”, It refers to such a sequence :1、1、2、3、5、8、13、21、34、······ In Mathematics , Fibonacci sequence is defined recursively as follows :F(1)=1,F(2)=1,F(n)=F(n-1)+F(n-2)(n>=3).
The first two items of Fibonacci series are 1,1. Each subsequent item is the sum of the first two items . Now the input n, Before Fibonacci sequence n Sum of items (1<=n<=5000).
【 Input format 】sum.in
Enter only one number n, It means finding the front of Fibonacci sequence n Sum of items .
【 Output format 】sum.out
Before outputting Fibonacci series n Sum of items
【
边栏推荐
- How to open an account is safe,
- Installation and use of VMware Tools and open VM tools: solve the problems of incomplete screen and unable to transfer files of virtual machines
- 使用FTP
- BI技巧丨权限轴
- Scala basic tutorial -- 14 -- implicit conversion
- 技术分享 | 接口测试价值与体系
- 其他InterSystems %Net工具
- 英特尔集成光电研究最新进展推动共封装光学和光互连技术进步
- 基于unity的愤怒的小鸟设计
- Wireshark抓包TLS协议栏显示版本不一致问题
猜你喜欢

Basic tutorial of scala -- 16 -- generics

Improve the accuracy of 3D reconstruction of complex scenes | segmentation of UAV Remote Sensing Images Based on paddleseg
![[发布] 一个测试 WebService 和数据库连接的工具 - DBTest v1.0](/img/4e/4154fec22035725d6c7aecd3371b05.jpg)
[发布] 一个测试 WebService 和数据库连接的工具 - DBTest v1.0
![[mathematical modeling of graduate students in Jiangxi Province in 2022] analysis and code implementation of haze removal by nucleation of water vapor supersaturation](/img/da/d46cca19f34223d29003be2e33aaa4.png)
[mathematical modeling of graduate students in Jiangxi Province in 2022] analysis and code implementation of haze removal by nucleation of water vapor supersaturation

Li Kou brush question diary /day2/2022.6.24

性能优化之关键渲染路径

The latest progress of Intel Integrated Optoelectronics Research promotes the progress of CO packaging optics and optical interconnection technology

Angry bird design based on unity

LeetCode第300场周赛(20220703)

Scala basic tutorial -- 20 -- akka
随机推荐
Scala基础教程--16--泛型
李迟2022年6月工作生活总结
One question per day (2022-07-02) - Minimum refueling times
Scala基础教程--14--隐式转换
神经网络物联网应用技术就业前景【欢迎补充】
Microservice architecture debate between radical technologists vs Project conservatives
Caché JSON 使用JSON适配器
Esp32-c3 introductory tutorial questions ⑫ - undefined reference to ROM_ temp_ to_ power, in function phy_ get_ romfunc_ addr
What types of Thawte wildcard SSL certificates provide
使用SSH
【机器学习的数学基础】(一)线性代数(Linear Algebra)(上+)
How to open an account is safe,
Wireshark packet capturing TLS protocol bar displays version inconsistency
Torchdrug tutorial
6.26CF模拟赛E:价格最大化题解
How to modify icons in VBS or VBE
Scala basic tutorial -- 13 -- advanced function
How is the entered query SQL statement executed?
2022养生展,健康展,北京大健康展,健康产业展11月举办
2021 合肥市信息学竞赛小学组