A Magic Lamp
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2274 Accepted Submission(s): 902
Problem Description
Kiki likes trave...
分类:
其他好文 时间:
2015-08-06 02:06:04
阅读次数:
118
紫书例题p245Piotr found a magical box in heaven. Its magic power is that if you place any red balloon inside it then, after one hour, it will multiply to ...
分类:
其他好文 时间:
2015-08-04 20:53:39
阅读次数:
253
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3183
RMQ (Range Minimum/Maximum Query)问题是指:对于长度为n的数列A,回答若干询问RMQ(A,i,j)(i,j
ST(实质是动态规划),O(nlogn)-O(q) online。
ST算法(Sparse Table),以求最大值为例,设d[i,j]表示[i,i+...
分类:
其他好文 时间:
2015-08-04 11:14:23
阅读次数:
122
Devour Magic
Time Limit: 2000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
In Warcraft III, Destroyer is a large flying unit that must consume magic to sustain its mana. Breaking fre...
分类:
其他好文 时间:
2015-08-03 11:39:00
阅读次数:
201
这个题就是求出给的公式的结果。
只要知道异或运算满足交换律跟结合律就行了,之后就是化简公式。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include...
分类:
其他好文 时间:
2015-07-30 11:19:48
阅读次数:
143
/*** use magic 0.31868386268616s* not use magic 0.11876797676086s*/class Test { private $varstr = "123"; function __get($name) { return $...
分类:
Web程序 时间:
2015-07-30 00:28:28
阅读次数:
139
题目链接:hdu 5125 magic balls
#include
#include
#include
using namespace std;
const int maxn = 1005;
int N, M, dp[maxn][maxn], A[maxn], B[maxn];
int vec[maxn][maxn], c[maxn];
void init () {
...
分类:
其他好文 时间:
2015-07-29 01:02:36
阅读次数:
98
最近玩Bootstrap , 一些小工具 记录在案。1 定制Bootstrap ,所见即所得的修改Bootstrap的各种变量,即时查看样式的变化。http://bootswatchr.com/http://pikock.github.io/bootstrap-magic/2 很多实用的html,j...
分类:
其他好文 时间:
2015-07-28 20:42:02
阅读次数:
82
DescriptionA magic island Geraldion, where Gerald lives, has its own currency system. It uses banknotes of several values. But the problem is, the sys...
分类:
其他好文 时间:
2015-07-26 20:43:33
阅读次数:
133
题目如下:
If you are a fan of Harry Potter, you would know the world of magic has its own currency system -- as Hagrid explained it to Harry, "Seventeen silver Sickles to a Galleon and twenty-nine ...
分类:
其他好文 时间:
2015-07-26 12:39:03
阅读次数:
122