Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionLittle Lesha loves listening to music via his smartphone. But the smar...
分类:
其他好文 时间:
2015-08-21 21:04:14
阅读次数:
206
click here ~~ ***A. Music***inputstandard input
outputstandard output
Little Lesha loves listening to music via his smartphone. But the smartphone doesn't have m...
分类:
其他好文 时间:
2015-08-20 20:58:25
阅读次数:
163
Feed the dogs
Time Limit: 6000MS
Memory Limit: 65536KB
64bit IO Format: %I64d & %I64u
Submit
Status
Description
Wind loves pretty dogs very much, and she has n pe...
分类:
其他好文 时间:
2015-08-20 19:10:14
阅读次数:
106
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
i-th number xi, DZY will put it into the bucke...
分类:
其他好文 时间:
2015-08-20 13:10:01
阅读次数:
92
题目:click here题意:求给定序列更改其中一个元素后的最长连续上升子序列的长度分析:最长的连续子序列有2种,一种是严格上升(没有更改元素)的长度加1,一种是两段严格上升的加起来。、 1 #include 2 using namespace std; 3 #define F first 4 ....
分类:
其他好文 时间:
2015-08-20 12:42:47
阅读次数:
126
Problem DescriptionXinlv wrote some sequences on the paper a long time ago, they might be arithmetic or geometric sequences. The numbers are not very ...
分类:
其他好文 时间:
2015-08-20 01:01:59
阅读次数:
189
http://bestcoder.hdu.edu.cn/contests/contest_showproblem.php?cid=604&pid=1002Dylans loves sequenceAccepts: 249 Submissions: 806 Time Limit: 2000/1000 ...
分类:
编程语言 时间:
2015-08-19 10:42:26
阅读次数:
154
All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful to identify repeated sequences within the DNA.
Wri...
分类:
其他好文 时间:
2015-08-19 00:36:15
阅读次数:
140
DZY loves colors, and he enjoys painting.On a colorful day, DZY gets a colorful ribbon, which consists ofnunits (they are numbered from1tonfrom left t...
分类:
其他好文 时间:
2015-08-18 13:54:40
阅读次数:
210
http://codeforces.com/problemset/problem/446/A/*贪心,开前缀后缀,枚举,每个i*//************************************************* Author :Powatr* Created Tim...
分类:
其他好文 时间:
2015-08-16 21:20:52
阅读次数:
95