码迷,mamicode.com
首页 >  
搜索关键字:his    ( 12534个结果
HDU - 4911 Inversion
Problem Description bobo has a sequence a1,a2,…,an. He is allowed to swap two adjacent numbers for no more than k times. Find the minimum number of inversions after his swaps. Note: The number...
分类:其他好文   时间:2014-08-05 22:44:03    阅读次数:248
POJ 2886 Who Gets the Most Candies? (线段树)
Description N children are sitting in a circle to play a game. The children are numbered from 1 to N in clockwise order. Each of them has a card with a non-zero integer on it in his/her hand. The ...
分类:其他好文   时间:2014-08-04 17:57:27    阅读次数:284
[BestCoder Round #3] hdu 4908 BestCoder Sequence (计数)
BestCoder Sequence Problem Description Mr Potato is a coder. Mr Potato is the BestCoder. One night, an amazing sequence appeared in his dream. Length of this sequence is odd, the median...
分类:其他好文   时间:2014-08-04 17:42:57    阅读次数:282
HDU4908——BestCoder Sequence(BestCoder Round #3)
BestCoder SequenceProblem DescriptionMr Potato is a coder.Mr Potato is the BestCoder.One night, an amazing sequence appeared in his dream. Length of t...
分类:其他好文   时间:2014-08-04 13:25:37    阅读次数:213
poj 3259 Wormholes
Wormholes Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 30766   Accepted: 11157 Description While exploring his many farms, Farmer John has discovered a nu...
分类:其他好文   时间:2014-08-02 18:30:23    阅读次数:317
ZOJ 1642 Match for Bonus(dp)
Match for Bonus Time Limit: 2 Seconds      Memory Limit: 65536 KB Roy played a game with his roommates the other day.  His roommates wrote 2 strings of characters, and gave each character a b...
分类:其他好文   时间:2014-08-02 18:20:33    阅读次数:256
POJ - 2886 Who Gets the Most Candies? (反素数+线段树)
Description N children are sitting in a circle to play a game. The children are numbered from 1 to N in clockwise order. Each of them has a card with a non-zero integer on it in his/her hand. Th...
分类:其他好文   时间:2014-08-02 15:37:33    阅读次数:259
CF449B最短路
B. Jzzhu and CitiesJzzhu is the president of country A. There arencities numbered from1tonin his country. City1is the capital of A. Also there aremroa...
分类:其他好文   时间:2014-08-02 12:39:23    阅读次数:301
HDU4902:Nice boat(线段树lazy)
Problem Description There is an old country and the king fell in love with a devil. The devil always asks the king to do some crazy things. Although the king used to be wise and beloved by his peop...
分类:其他好文   时间:2014-08-01 20:00:22    阅读次数:287
G - UFOs
Description Vasya is a ufologist and his duties include observing Unidentified Flying Objects (UFOs) in the part of space bounded by a cube N × N ×N. The cube is divided into cubic sectors 1 ...
分类:其他好文   时间:2014-08-01 19:58:52    阅读次数:302
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!