A. Relic Discovery B. Pocket Cube C. Pocky D. Lucky Coins E. Fibonacci F. Lambda Calculus G. Coding Contest H. Pattern I. Travel Brochure J. Cliques K ...
分类:
其他好文 时间:
2018-10-04 11:41:21
阅读次数:
404
A - Relic Discovery 签到 B - Pocket Cube 直接模拟六种转法。 C - Pocky 记住ln(2)=0.693147。故ans = ln(L) / ln(d)。 D - Lucky Coins E - Fibonacci F - Lambda Calculus G ...
分类:
其他好文 时间:
2018-10-04 10:28:32
阅读次数:
155
The Fibonacci Numbers{0,1,1,2,3,5,8,13,21,34,55...} are defined by the recurrence: F0=0 F1=1 Fn=Fn-1+Fn-2,n>=2 Write a program to calculate the Fibona ...
分类:
其他好文 时间:
2018-10-02 18:00:06
阅读次数:
138
题目传送门:https://www.lydsy.com/JudgeOnline/problem.php?id=3298 博弈论经典结论题,我也没什么好说的。matrix67大佬比我想得深入的多:捡石子游戏、 Wythoff 数表和一切的 Fibonacci 数列 代码: #include<cstdi ...
分类:
其他好文 时间:
2018-10-01 21:06:45
阅读次数:
129
标签中静态常量: EVAL_BODY_INCLUDE:告诉服务器正文的内容,并把这些内容送入输出流 SKIP_BODY:告诉服务器不要处理正文内容 EVAL_PAGE:让服务器继续执行页面 SKIP_PAGE:让服务器不要处理剩余的页面 EVAL_BODY_AGAIN:让服务器继续处理正文内容,只有 ...
分类:
Web程序 时间:
2018-10-01 18:25:05
阅读次数:
281
An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the ...
分类:
其他好文 时间:
2018-09-29 14:26:38
阅读次数:
326
查看了进程, nginx, php-fpm都在运行, 排除程序错误, 那么就是配置的问题了. 一个可能的错误, 是由于配置中的 fastcgi_pass 配置错了 错误的配置如下 server { listen 80; server_name localhost; #charset koi8-r; ...
分类:
其他好文 时间:
2018-09-29 10:19:28
阅读次数:
211
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-generate-toc again -->Table of Contents Python语言特性 1 Python的函数参数传递 2 Python中的元 ...
分类:
编程语言 时间:
2018-09-27 18:08:00
阅读次数:
223
C/C++经典程序训练2 斐波那契数列 Time Limit: 1000 ms Memory Limit: 65536 KiB Problem Description 编写计算斐波那契(Fibonacci)数列的第n项函数fib(n)(n=3)。 Input 输入整数n的值。 Output 输出fi ...
分类:
编程语言 时间:
2018-09-27 10:30:22
阅读次数:
144
1、在页面中计算并以文本的方式输出100以内的Fibonacci数列:1、1、2、3、5、8、13、21、34、55、89。 要求:不使用数组,定义三个变量a, a1 和a2,再定义一个变量n用来计数。 2、使用竖向表格的方式,完成数据的输出,输出形式如下 3、将数据以横向表格的方式输出,上面一行为 ...
分类:
Web程序 时间:
2018-09-27 01:54:39
阅读次数:
358