码迷,mamicode.com
首页 >  
搜索关键字:hdu 4719 oh my holy    ( 45498个结果
JSOI2008最大数(线段树)
注意到数列只增不减,而题目中又明确说道my then exit(x) else exit(y); end;procedure build(x,y,k:longint); var mid:longint; begin with t[k] do begin l:=x;r:=y; if ...
分类:Web程序   时间:2014-06-02 14:01:28    阅读次数:247
hdu 4786 Fibonacci Tree
题目:大致的意思就是说给定...
分类:其他好文   时间:2014-06-01 16:22:52    阅读次数:259
HDU 4836 The Query on the Tree lca || 欧拉序列 || 动态树
lca的做法还是很明显的,简单粗暴, 不过不是正解,如果树是长链就会跪,直接变成O(n)、、 最后跑的也挺快,出题人还是挺阳光的。。 #include #include #include #include #include #include #include #include #include #include #include #include #inclu...
分类:其他好文   时间:2014-06-01 15:39:05    阅读次数:256
HDU - 4814 Golden Radio Base (长春赛区B题)
Description Golden ratio base (GRB) is a non-integer positional numeral system that uses the golden ratio (the irrational number (1+√5)/2 ≈ 1.61803399 symbolized by the Greek letter φ) as its base....
分类:其他好文   时间:2014-06-01 15:38:24    阅读次数:252
hdu 1011 Starship Troopers (依赖背包 树形dp)
题目:         链接:...
分类:其他好文   时间:2014-06-01 14:10:02    阅读次数:284
Hive创建外部表以及分区
创建外部表的好处是数据可以随时从hdfs中挂载进表中使用分区的好处是可以缩短查询范围下面的例子展示了如何创建外部表CREATE EXTERNAL TABLE my_daily_report( last_update string, col_a string, col_b string, col_c string, col_d string, col_...
分类:其他好文   时间:2014-06-01 14:04:33    阅读次数:403
OJ帐号保存
TOJ 614173971 HDU 宇智波佐助 POJ shiai ZOJ henyumen UVa henyumen Light OJ HENYUMEN...
分类:其他好文   时间:2014-06-01 13:59:09    阅读次数:210
HDU 4839 The Game of Coins 概率题。(母函数
The Game of Coins mark: #include"cstdio" #include"iostream" #include"queue" #include"algorithm" #include"set" #include"queue" #include"cmath" #include"string.h" #include"vector...
分类:其他好文   时间:2014-06-01 13:58:31    阅读次数:196
hdu 3449 Consumer (依赖01背包)
题目:         链接:点击打开链接 题意: 思路:         dp[i][j]表示前i个箱子装j钱的材料能够得到的最大价值。 代码: #include #include #include using namespace std; #define MAXN 100010 int dp[55][MAXN]; int main() { //freopen("inpu...
分类:其他好文   时间:2014-06-01 13:57:14    阅读次数:270
hdu 1561 The more, The Better (依赖背包 树形dp)
题目:         链接:点击打开链接 题意:         很明显的依赖背包。 思路: 代码:...
分类:其他好文   时间:2014-06-01 12:56:54    阅读次数:313
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!