码迷,mamicode.com
首页 >  
搜索关键字:c. dzy loves sequences    ( 1332个结果
Codeforces Round #FF (Div. 2) A. DZY Loves Hash
DZY has a hash table with p buckets, numbered from 0 to p?-?1. He wants to insert n numbers, in the order they are given, into the hash table. For the ...
分类:其他好文   时间:2017-07-25 16:35:36    阅读次数:180
cf3D Least Cost Bracket Sequence
This is yet another problem on regular bracket sequences. A bracket sequence is called regular, if by inserting "+" and "1" into it we get a correct m ...
分类:其他好文   时间:2017-07-24 17:40:35    阅读次数:248
Spoj-FACVSPOW Factorial vs Power
Consider two integer sequences f(n) = n! and g(n) = an, where n is a positive integer. For any integer a > 1 the second sequence is greater than the f ...
分类:其他好文   时间:2017-07-24 13:03:17    阅读次数:150
HDU 4876 ZCC loves cards 暴力+剪枝
题意:n张牌,选k个排成一圈,给出L,求出最大R 使得[L,R]内任意一个数 都可以由圈内连续m个数异或得到.n<=20,k<=6,a[i],L<=100. m为自己设定的. 暴力 总共有A(20,6)种方案 每种方案k^2算出异或数 TLE..先C(20,6)选出方案 若能过最优性剪支,在全排列更 ...
分类:其他好文   时间:2017-07-23 18:22:50    阅读次数:118
Codeforces Hello2015第一题Cursed Query
英文题面: De Prezer loves movies and series. He has watched the Troy for like 100 times and also he is a big fan of Supernatural series.So, he did some re ...
分类:其他好文   时间:2017-07-22 23:44:01    阅读次数:220
BZOJ 4059 [Cerc2012]Non-boring sequences(启发式分治)
【题目链接】 http://www.lydsy.com/JudgeOnline/problem.php?id=4059 【题目大意】 一个序列被称为是不无聊的,仅当它的每个连续子序列存在一个独一无二的数字, 即每个子序列里至少存在一个数字只出现一次。 给定一个整数序列,请你判断它是不是不无聊的。 【 ...
分类:其他好文   时间:2017-07-21 23:25:19    阅读次数:195
[CodeForces - 447E] E - DZY Loves Fibonacci Numbers
E DZY Loves Fibonacci Numbers In mathematical terms, the sequence Fn of Fibonacci numbers is defined by the recurrence relation DZY loves Fibonacci nu ...
分类:其他好文   时间:2017-07-21 14:12:40    阅读次数:361
[CodeForces - 447D] D - DZY Loves Modification
D - DZY Loves Modification As we know, DZY loves playing games. One day DZY decided to play with a n?×?mmatrix. To be more precise, he decided to modi ...
分类:其他好文   时间:2017-07-21 10:51:07    阅读次数:162
[CodeForces - 447C] C - DZY Loves Sequences
C - DZY Loves Sequences DZY has a sequence a, consisting of n integers. We'll call a sequence ai,?ai?+?1,?...,?aj (1?≤?i?≤?j?≤?n) a subsegment of the ...
分类:其他好文   时间:2017-07-21 10:27:08    阅读次数:125
Codeforces 447C - DZY Loves Sequences
447C - DZY Loves Sequences 思路:dp 代码: ...
分类:其他好文   时间:2017-07-18 13:29:53    阅读次数:116
1332条   上一页 1 ... 45 46 47 48 49 ... 134 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!