
Fibonacci
文章平均质量分 91
nike0good
这个作者很懒,什么都没留下…
展开
-
Tokio Marine & Nichido Fire Insurance Programming Contest 2021(AtCoder Regular Contest 122) 题解
A Many Formulae#include<bits/stdc++.h> using namespace std;#define For(i,n) for(int i=1;i<=n;i++)#define Fork(i,k,n) for(int i=k;i<=n;i++)#define ForkD(i,k,n) for(int i=n;i>=k;i--)#define Rep(i,n) for(int i=0;i<n;i++)#define ForD(i原创 2021-06-12 23:14:57 · 359 阅读 · 0 评论 -
CF 316E3(Summer Homework-广意Fib数列在p,q=1时的性质-Fib线段树)
E3. Summer Homeworktime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBy the age of three Smart Beaver master原创 2013-06-16 11:31:49 · 2899 阅读 · 0 评论 -
CF 317A(Perfect Pair-广义Fib序列p,q=1性质2&加法增长极)
A. Perfect Pairtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet us call a pair of integer numbers m-perf原创 2013-06-18 12:46:43 · 2216 阅读 · 0 评论 -
BZOJ 2275([Coci2010]HRPA-齐肯多夫定理-Fibonacci Nim)
2275: [Coci2010]HRPATime Limit: 1 Sec Memory Limit: 128 MBSubmit: 63 Solved: 30[Submit][Status]DescriptionN个石子,A和B轮流取,A先。每个人每次最少取一个,最多不超过上一个人的个数的2倍。取到最后一个石子的人胜出,如果A要有必胜策略,第一次他至少要取多少个。原创 2013-06-27 13:06:31 · 2532 阅读 · 0 评论 -
HDU 5351(MZL's Border-Java的BigInteger类)
MZL's BorderTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1102 Accepted Submission(s): 353Problem DescriptionAs is known to all原创 2015-08-23 12:24:04 · 1228 阅读 · 0 评论