using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; namespace di3tishulie
{
class Program
{
static long ds = ; static void Main(string[] args)
{ long aa = ff(, ,);
Console.WriteLine(aa);
Console.ReadKey(); }
static long ff(long x, long y, int z)
{
long ds1 = ds;//int ds1 = ds;// 当为int长度时候,最高到46,1836311903
ds = x + y;
z++;
if (z==)//当z=5时候,是数列7项;第30项时,z==30-2=28,把z传递为2;
{
return ds;
}
if (z <=)//当z传递-2时,条件改为-1
{
return ff(ds, y, z++);
}
else
{
return ff(ds, ds1, z++); } } }
}

最新文章

  1. thinkphp在模型中自动完成session赋值
  2. List集合的remove一个对象的方法
  3. SQL调优 - Hints指定索引 解决慢查询案例
  4. python数字图像处理(5):图像的绘制
  5. C++ virtual descructor
  6. CodeIgniter配置之config
  7. 软件密码和https协议
  8. JavaSE学习总结第23天_多线程1
  9. Git 安装 on centos7
  10. 第 10 章 容器监控 - 080 - Weave Scope 容器地图
  11. 多选框取值checkbox
  12. MySQLdb模块(数据库)
  13. 网页真机调试之Browsersync简介
  14. Python之路(第三十二篇) 网络编程:udp套接字、简单文件传输
  15. Python 字符串十六进制流
  16. 创建第一次C语言程序
  17. API与软件架构-接口
  18. Servlet的多线程和线程安全
  19. 你真的懂Handler.postDelayed()的原理吗?
  20. Vim 操作符命令和动作命令

热门文章

  1. PWA 基础学习
  2. Java实现打印功能-AWT Graphics2D
  3. Manthan, Codefest 16 C
  4. C# 运行CMD命令
  5. C++学习之可变参数的函数与模板
  6. Andriod实现刮刮卡的效果
  7. apache在windows下的命令安装与报错解决
  8. Hadoop生态系统学习路线
  9. com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$Mis
  10. bzoj2125 最短路——仙人掌两点间距离