ZOJ 3710 Friends(数学啊 )...
分类:
其他好文 时间:
2015-04-22 20:46:13
阅读次数:
111
ZOJ 3605 Find the Marble(dp啊 三维)...
分类:
其他好文 时间:
2015-04-22 20:45:44
阅读次数:
116
ZOJ 3778 Talented Chef(数学啊 )...
分类:
其他好文 时间:
2015-04-22 20:42:52
阅读次数:
119
ZOJ 3713 In 7-bit(数学啊 )...
分类:
其他好文 时间:
2015-04-22 20:42:16
阅读次数:
108
Background
If thou doest well, shalt thou not be accepted? and if thou doest not well, sin lieth at the door. And unto thee shall be his desire, and thou shalt rule over him.
And Cain ta...
分类:
其他好文 时间:
2015-04-22 09:41:23
阅读次数:
199
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3758
题面:
Guess the Price
Time Limit: 1 Second Memory Limit: 32768 KB
In the television program "Shopping Street...
分类:
其他好文 时间:
2015-04-22 09:37:38
阅读次数:
191
fibonacci数列的性质:
1.gcd(fib(n),fib(m))=fib(gcd(n,m))
证明:可以通过反证法先证fibonacci数列的任意相邻两项一定互素,然后可证n>m时gcd(fib(n),fib(m))=gcd(fib(n-m),fib(m)),递归可
求gcd(fib(n),fib(m))=gcd(fib(k),fib(l)),最后k=l,不然继续递归。K...
分类:
其他好文 时间:
2015-04-21 22:42:35
阅读次数:
258
#include#include#include#include#include#include#include#include#include#define LL long longusing namespace std;int map[10][10];int vis[10][10];int a[...
分类:
其他好文 时间:
2015-04-21 22:22:16
阅读次数:
170
#include#include#include#include#include#include#include#include#include#define LL long longusing namespace std;const int MAXN=10;const int INF=0x3f3f...
分类:
其他好文 时间:
2015-04-21 22:14:36
阅读次数:
178
题目传送门 1 /* 2 题意:在一个矩阵里放炮台,满足行列最多只有一个炮台,除非有墙(X)相隔,问最多能放多少个炮台 3 搜索(DFS):数据小,4 * 4可以用DFS,从(0,0)开始出发,往(n-1,n-1)左下角走,x = cnt / n; y = cnt % n; 更...
分类:
Web程序 时间:
2015-04-21 17:45:36
阅读次数:
169