码迷,mamicode.com
首页 >  
搜索关键字:magic 魔方打印    ( 1247个结果
HDU_3183_A Magic Lamp(贪心)
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
UVA - 12627 Erratic Expansion 奇怪的气球膨胀 (分治)
紫书例题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
HDU-3183-A Magic Lamp-RMQ+ST(模板)
题目链接: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
SDUT2880 Devour Magic 线段树(set+add标记)
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
CodeForce 424C Magic Formulas
这个题就是求出给的公式的结果。 只要知道异或运算满足交换律跟结合律就行了,之后就是化简公式。 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include...
分类:其他好文   时间:2015-07-30 11:19:48    阅读次数:143
php使用魔法函数和不使用魔法函数比较
/*** 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(dp)
题目链接: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 , 一些小工具 记录在案。
最近玩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
1058. A+B in Hogwarts (20)
题目如下: 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
1247条   上一页 1 ... 92 93 94 95 96 ... 125 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!