码迷,mamicode.com
首页 >  
搜索关键字:elves    ( 44个结果
[线段树]hdu5316
题意: 给出两种操作,一种是求区间漂亮子序列的和的最大值,另一个就是给指定的点改变值。 题目中最重要的一句话:A beautiful subsequence is a subsequence that all the adjacent pairs of elves in the sequence have a different parity of position....
分类:其他好文   时间:2015-08-16 23:05:59    阅读次数:142
hdu5316Magician 线段树
//1 a b 将a位置的数改为b //0 a b 输出[a,b] 区间内的 maximum sum of beautiful subsequence //A beautiful subsequence is a subsequence that all the adjacent pairs //of elves in the sequence have a different parity of...
分类:其他好文   时间:2015-08-02 15:13:38    阅读次数:141
多校联赛第三场(部分题解)
1001. Magician (hdu5316)这个题目用到线段树来合并区间,题目有句话的意思A beautiful subsequence is a subsequence that all the adjacent pairs of elves in the sequence have a di...
分类:其他好文   时间:2015-07-30 11:09:28    阅读次数:114
ZOJ2507-Let's play a game(Anti-Nim)
Let's play a game Time Limit: 2 Seconds      Memory Limit: 65536 KB Elves from the Lothvain forest have created a very interesting game. The rules are very simple: There are two players. ...
分类:其他好文   时间:2014-08-15 17:56:19    阅读次数:251
44条   上一页 1 ... 3 4 5
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!