DescriptionDZY loves chessboard, and he enjoys playing with it.He has a chessboard of n rows and m columns. Some cells of the chessboard are bad, othe...
分类:
其他好文 时间:
2014-11-24 18:51:18
阅读次数:
232
以下部分来自:http://www.cnblogs.com/zhuohan123/p/3726306.htmlDZY系列。这题首先是几个性质: 1.所有球质量相同,碰撞直接交换速度,而球又没有编号,那么就可以直接视作两个球没有碰撞。 2.所有的方向、初始位置都没有任何用处。然后就是速度的问题了,.....
分类:
其他好文 时间:
2014-11-23 09:15:51
阅读次数:
220
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2817解题思路:arithmetic or geometric sequences 是等差数列和等比数列的意思,即令输入的第一个数为a(1),那么对于等差数列 a(k)=a(1)+(k-1)*d,即只需要...
分类:
其他好文 时间:
2014-11-22 18:44:27
阅读次数:
308
就是给一个数列,维护操作:(1)加一个数(2)求当前全部数的第K大。。。看了Claris大爷的做法深有启发,于是替蒟蒻的替罪羊树的第一次就没了。。。写完才发现。。。Orz主席树怎么忘了、、、貌似实现更简单啊!!!不管了QAQ 1 /*********************************....
分类:
其他好文 时间:
2014-11-16 21:28:32
阅读次数:
221
ee LCS again时间限制:1000ms | 内存限制:65535KB难度:3描述There are A, B two sequences, the number of elements in the sequence is n、m;Each element in the sequence a...
分类:
其他好文 时间:
2014-11-15 18:50:16
阅读次数:
185
DZY loves colors, and he enjoys painting.
On a colorful day, DZY gets a colorful ribbon, which consists of n units (they are numbered from 1 to n from
left to right). The color of thei-th unit of...
分类:
其他好文 时间:
2014-11-15 01:28:29
阅读次数:
222
python中r的用法,r'str'表示raw string,既忽略转义字符。因为和windows不一样,python中认为\就是转义字符escape sequences的标志。python中提取系统时间,以及将其转化成字符串的方法。time.strftime()。将list转化成str的方法,s....
分类:
其他好文 时间:
2014-11-14 13:55:30
阅读次数:
147
帮助阅读,掌握知识每段用一句话去概括======================================1.1 introdunction neuros represent and transmit information by firing sequences of spikes in ....
分类:
其他好文 时间:
2014-11-09 20:42:14
阅读次数:
150
在plsql中,打开Objects窗口找Sequences文件夹》你需要修改的Sequence选中你需要修改的sequence,右键edit(编辑)OK!
分类:
数据库 时间:
2014-11-08 15:03:58
阅读次数:
159
Some DNA sequences exist in circular forms as in the following figure, which shows a circular sequence ``CGAGTCAGCT", that is, the last symbol ``T" in...
分类:
其他好文 时间:
2014-11-06 10:46:48
阅读次数:
174