码迷,mamicode.com
首页 >  
搜索关键字:zcc loves codefires    ( 818个结果
hdu5269 ZYB loves Xor I 异或,字典树
hdu5269 ZYB loves Xor I 异或,字典树ZYB loves Xor IAccepts: 142Submissions: 696Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Othe....
分类:其他好文   时间:2015-11-05 00:30:50    阅读次数:172
Codeforces Round #272 (Div. 2)C. Dreamoon and Sums 数学推公式
C. Dreamoon and SumsDreamoon loves summing up something for no reason. One day he obtains two integersaandboccasionally. He wants to calculate the sum...
分类:其他好文   时间:2015-11-02 17:12:14    阅读次数:234
CodeForces 590A Median Smoothing
A schoolboy named Vasya loves reading books on programming and mathematics. He has recently read an encyclopedia article that described the method ofm...
分类:其他好文   时间:2015-10-27 17:22:07    阅读次数:174
Codeforces Round #327 (Div. 2)C. Median Smoothing 构造
C. Median SmoothingA schoolboy named Vasya loves reading books on programming and mathematics. He has recently read an encyclopedia article that descr...
分类:其他好文   时间:2015-10-26 18:33:44    阅读次数:198
Codeforces Round #FF (Div. 1) A. DZY Loves Sequences
原题链接:http://codeforces.com/problemset/problem/446/A题意:给一个长度为n的序列,最多可以修改一个位置的数,求最长连续上升子序列。题解:当a[i+1] > a[i-1]+2的时候,可以通过改变a[i]的值来使前后两段合并,反之,分别考虑a[i]作为左边...
分类:其他好文   时间:2015-10-23 22:53:41    阅读次数:201
[洛谷1580]yyy loves Easter_Egg I
题目背景Soha的出题效率着实让人大吃一惊。OI,数学,化学的题目都出好了,物理的题还没有一道。于是,Huntfire,absi2011,lanlan对soha进行轮番炸,准备炸到soha出来,不料,人群中冲出了个kkksc03……题目描述yyy loves OI(Huntfire),yyy lov...
分类:其他好文   时间:2015-10-17 10:32:59    阅读次数:248
CF109 C. Lucky Tree 并查集
Petya loves lucky numbers. We all know that lucky numbers are the positive integers whose decimal representations contain only the lucky digits4and7. ...
分类:其他好文   时间:2015-10-14 19:54:18    阅读次数:183
hdu5269 ZYB loves Xor I
分治法和字典树都可以,都是递归,但字典树耗内存 从第一bit开始,若相同则xor为0,分到同一部分,不相同则统计,且此时lowbit为这一bit,最后结果要乘以2 1 /*分治法*/ 2 #include 3 #define MOD 998244353 4 5 using namespac...
分类:其他好文   时间:2015-10-13 20:58:53    阅读次数:167
Codeforces Round #324 (Div. 2)C. Marina and Vasya set
C. Marina and VasyaMarina loves strings of the same length and Vasya loves when there is a third string, different from the...
分类:其他好文   时间:2015-10-08 21:33:35    阅读次数:213
Codeforces 581C Developing Skills
C. Developing SkillsPetya loves computer games. Finally a game that he's been waiting for so long came out!The main character of this game hasndiffere...
分类:其他好文   时间:2015-09-29 16:49:31    阅读次数:258
818条   上一页 1 ... 45 46 47 48 49 ... 82 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!